[NumPy-Tickets] [NumPy] #2218: numpy.any ignores imaginary part of arrays

NumPy Trac numpy-tickets@scipy....
Tue Sep 25 11:47:27 CDT 2012


#2218: numpy.any ignores imaginary part of arrays
-------------------------+--------------------------------------------------
 Reporter:  mike.wimmer  |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  highest      |   Milestone:  1.7.0   
Component:  numpy.core   |     Version:  1.6.1   
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by charris):

 I expect the problem arises from the fact that the output type is not the
 same as the input type.

 One way to fix this would be to use a special functions for the any and
 all methods instead of the ufunc.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2218#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list