[NumPy-Tickets] [NumPy] #709: isnan should not raise TypeErrors
NumPy Trac
numpy-tickets@scipy....
Tue Mar 22 22:21:52 CDT 2011
#709: isnan should not raise TypeErrors
------------------------+---------------------------------------------------
Reporter: cjw296 | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: devel
Keywords: |
------------------------+---------------------------------------------------
Changes (by mwiebe):
* version: none => devel
Comment:
This requires adding an object-array loop to the 'isnan' ufunc, which
would then return False for anything that's not a float, and run the
regular isnan on floats.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/709#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list