Revert "isnan is not defined for mac, defining one"
Revert "isnan is not defined for mac, defining one"

This reverts commit 36c71f1f0214dec5f05e6beb9ae46bdb2fc6a613.

stack-of-tasks/sot-core,stack-of-tasks/sot-core,stack-of-tasks/sot-core