Bug in getUniformStr.m of CERR v3.2b2 (latest version)?

14 views
Skip to first unread message

Stefan Schell

unread,
Nov 6, 2009, 11:18:56 AM11/6/09
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

Stefan Schell

unread,
Nov 26, 2009, 6:10:25 AM11/26/09
to CERR FORUM
Update:

The same seems to apply for the new version CERR v3.3b1.
Now we are talking about lines 148-149 instead.

Stefan Schell

신희순

unread,
Nov 27, 2009, 6:56:09 AM11/27/09
to cerr-...@googlegroups.com, stefan...@gmail.com
Dear Schell,
 
I would like to change my e-mail from msk...@gmail.com  to msk...@skku.com.
I appriciate if you send e-mail  to msk...@gmail.com.

With regard,
 
Heesoon.


 
2009/11/26, Stefan Schell <stefan...@gmail.com>:
--

You received this message because you are subscribed to the Google Groups "CERR FORUM" group.
To post to this group, send email to cerr-...@googlegroups.com.
To unsubscribe from this group, send email to cerr-forum+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cerr-forum?hl=en.



Reply all
Reply to author
Forward
0 new messages