Stefan Schell
unread,Nov 6, 2009, 11:18:56 AM11/6/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CERR FORUM
Hello,
today I ported my custom CERR scripts to the latest version of CERR.
If getUniformStr.m is called for a structure that is not uniformized I
run into troubles because an empty structure mask is returned.
For such a struct, the following is done in getUniformStr.m:
planC = updateStructureMatrices(planC, structNum);
Lines 140-141 (the lines before the only 'break' in this file) read:
otherIndices = [];
[otherIndices(:,1), otherIndices(:,2), otherIndices(:,3), planC] =
getUniformStr(structNumV, planC, optS, 0);
I must confess I do not fully understand the code but I am pretty sure
it should read:
otherIndicesM = [];
[otherIndicesM(:,1), otherIndicesM(:,2), otherIndicesM(:,3), planC] =
getUniformStr(structNumV, planC, optS, 0);
This solves my problem and additionally makes more sense because
otherIndices is not used after these lines any longer for this case.
Thanks
Stefan Schell