jeanluct / braidlab

Matlab package for analyzing data using braids
GNU General Public License v3.0
23 stars 9 forks source link

Still another bug in loop subscripting... #75

Closed jeanluct closed 9 years ago

jeanluct commented 9 years ago

I think this is a bug. Michael's Step4_DynCreation.m fails because of a situation like this:

#!matlab

>> l = loop(4,3);
>> l2 = loop(4,2);
>> l(4:5) = l2;
Subscripted assignment dimension mismatch.

Error in braidlab.loop/subsasgn (line 54)
      obj.coords(idx,:) = val.coords(:);

Probably we should allow this.

jeanluct commented 9 years ago

From Jean-Luc Thiffeault on 2014-10-10 22:05:21+00:00

Deleting semicolon resolves issue #75. Added unit test.

→ <>

jeanluct commented 9 years ago

From Jean-Luc Thiffeault on 2014-10-10 22:05:48+00:00

Michael's modified_duffing_tutorial now runs!