1 in [1,2,3] # returns true NaN in [NaN, 1.0, 2.0] # returns false
how do I test if a float64 NaN is present in an array? I'm doing some numerical computation and it can have some NaN error, I want to drop the arrays that has NaN.
1 in [1,2,3] # returns true NaN in [NaN, 1.0, 2.0] # returns false
how do I test if a float64 NaN is present in an array? I'm doing some numerical computation and it can have some NaN error, I want to drop the arrays that has NaN.