David Cournapeau wrote: > isfinite may be acceptable for the OP, but !isnan is not the same as > isfinite. So, what your saying is, not is not a number is not is infinite. Got it. :)