[Numpy-tickets] [NumPy] #699: corrcoef incorrect behaviour
NumPy
numpy-tickets@scipy....
Thu Apr 3 10:49:03 CDT 2008
#699: corrcoef incorrect behaviour
-------------------------+--------------------------------------------------
Reporter: kazboris021 | Owner: somebody
Type: defect | Status: closed
Priority: low | Milestone: 1.0.5
Component: Other | Version: none
Severity: normal | Resolution: invalid
Keywords: |
-------------------------+--------------------------------------------------
Changes (by oliphant):
* status: new => closed
* resolution: => invalid
Comment:
There is not a single NaN object so testing for object identity (using is)
is not correct.
Equality testing is also problematic because nan's are not equal to each
other.
Using numpy.isnan is the appropriate pattern.
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/699#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list