Open mvhulten opened 6 years ago
Since NaN is defined as a float-point number in IEEE 754, I guess NaNMath deals with floats as default. I use something like nanmean(x) = any(isnan, x) ? NaNMath.mean(x) : mean(x)
as circumvention.
Also in casual use cases accepting Array of Any would also help.
Maybe this is a specific case of #17, but I don't understand everything in that issue. All users (even myself!) will understand this issue:
It would be a useful feature if the
NaNMath
routines will accept more types like integer.I am using Julia 0.6.2 and NaNMath 0.3.0.