[NumPy-Tickets] [NumPy] #1618: .real on object array misbehaves
NumPy Trac
numpy-tickets@scipy....
Tue Sep 21 16:49:54 CDT 2010
#1618: .real on object array misbehaves
------------------------+---------------------------------------------------
Reporter: pv | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 2.0.0
Component: numpy.core | Version: 1.5.0
Keywords: |
------------------------+---------------------------------------------------
It probably shouldn't do this:
{{{
>>> import numpy as np
>>> x = np.array(1+2j, object)
>>> x.real
array((1+2j), dtype=object)
}}}
The implementation of .real for object arrays seems suspicious.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1618>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list