Fix isnan
so it doesn't cause FP errors
#3951
Merged
Loading
isnan
so it doesn't cause FP errors
#3951