jeanluct / braidlab

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

Issuing BRAIDLAB_braid_nomex does not always work #111

Closed mbudisic closed 9 years ago

mbudisic commented 9 years ago

This is just a placeholder at this moment, until I can get a minimal example to work. But basically, issuing

global BRIADLAB_braid_nomex
BRAIDLAB_braid_nomex=true

will not always result in MATLAB code to be used. The issue comes up in reference to Issue #109 when running develop/issue109.m. It appears that MATLAB will sometimes unset the global variable flag and then the code defaults to MEX.

This has little to do with debugging Issue #109 but has come up when writing a test for it so I am filing it as a separate ticket.

jeanluct commented 9 years ago

Weird... I wonder if we have some rogue clear somewhere...

mbudisic commented 9 years ago

Shameful typo. BRIADLAB and BRAIDLAB look surprisingly similar. I was defining a wrong variable as global in test file. I should check my eyes. Closing.