Welcome! Log In Create A New Profile

Advanced

bug in setting AI sample rate

Posted by lucast4 
bug in setting AI sample rate
August 28, 2020 08:09AM
I think there is a bug where if you try to select "100" for the AI sample rate, it reverts to "1000".
I think it is because "set_listbox_item()" in monkeylogic.m compares strings using the first shared number of characters (so 100 reverts to 1000).
I wrote a new function "set_listbox_item_exact()" using strcmp instead of strncmpi and it works.
Re: bug in setting AI sample rate
August 28, 2020 10:11AM
Thanks for letting me know this. It will be fixed soon.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.