colinsheppard / insalmo-instream-gui

GUI for both the inSALMO and inSTREAM models
GNU General Public License v2.0
1 stars 0 forks source link

Boolean variables should be 0, 1; not YES NO #32

Closed SFRailsback closed 12 years ago

SFRailsback commented 12 years ago

The model code seems not to recognize "YES" as true, even though it doesn't give an error when a BOOL is set to YES or NO.

I think the best solution is just require all boolean variables to have values of 0 or 1. However:

I see that if you are in the Experiment menu and add a boolean model parameter (e.g., appendFiles) to an experiment, the GUI puts in default values of "0". That should work.