[Numpy-discussion] Somewhat goofy warning in 'isfinite'?

Matthew Brett matthew.brett@gmail....
Sat Feb 20 13:48:44 CST 2010


I just noticed this:

In [2]: np.isfinite(np.inf)
Warning: invalid value encountered in isfinite
Out[2]: False

Maybe it would be worth not raising the warning, in the interests of tidiness?


More information about the NumPy-Discussion mailing list