jeanluct / braidlab

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

C++ intersec doesn't use `totaln` #103

Closed jeanluct closed 9 years ago

jeanluct commented 9 years ago

Oops: I think when testing the basepoint I didn't yet have the C++ intersec:

>> l=loop(3,'bp')

l = 

   (( 0  0 -1 -1 ))*

>> plot(l)
Index exceeds matrix dimensions.

Error in braidlab.loop/plot (line 164)
M_coord = [nu(1)/2 mu(2*(1:(n-2))-1) nu(n-1)/2];

I think this is an easy fix but I wanted to flag it. All I need to do is change some .n to .totaln to include the basepoint.