WaitSecs(nan)

Hi,

I'm experiencing a difference in behavior of Psychtoolbox between Windows/Ubuntu and OSX. When I call WaitSecs(nan) on Windows or Ubuntu, it is interpreted as WaitSecs(0). When I call it on OSX, it is interpreted as WaitSecs(inf). Is there a way to change the behavior of WaitSecs on mac? It would be great to keep the same experiment and not to change code at all occurrences of WaitSecs.


Thanks a lot for your help!


Best,

Antonius