jeanluct / braidlab

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

New minlength fails testsuite #73

Closed jeanluct closed 9 years ago

jeanluct commented 9 years ago

Marko: if you restart Matlab and run the testsuite, does it fail for you? I have a feeling you didn't run your code with BRAIDLAB_loop_minlength_nomex completely undefined, since I get the error:

#!matlab

Running loopTest
...
================================================================================
Uncaught error occurred in loopTest/test_loop_length_overflow.
The remainder of the test method will not run to completion.

    --------------
    Error Details:
    --------------
    Operands to the || and && operators must be convertible to logical scalar values.

    Error in braidlab.loop/minlength (line 311)
          if BRAIDLAB_loop_minlength_nomex || ~mexsuccess

    Error in loopTest/test_loop_length_overflow/@(N)log(minlength(mybraid^N*l)/minlength(l))/N

    Error in loopTest/test_loop_length_overflow (line 172)
          testCase.verifyEqual(loopEntropy(Niter), expEntropy, 'AbsTol', tol, ...

================================================================================
jeanluct commented 9 years ago

From Jean-Luc Thiffeault on 2014-10-10 21:55:40+00:00

Marko fixed this in 4dd6ecd.