[NumPy-Tickets] [NumPy] #1904: ndarray derived classes: inconsistent return type of min()

NumPy Trac numpy-tickets@scipy....
Tue Jul 12 12:28:16 CDT 2011


#1904: ndarray derived classes: inconsistent return type of min()
------------------------+---------------------------------------------------
 Reporter:  cstraehl    |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  1.6.0      
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by cstraehl):

 hmmm, my first bug report. sorry for disturbing again.

 for clarification: the ndarray.min method returns a scalar, while the
 derived class
 returns an zero length array, this behaviour is inconsistent..

 in numpy  1.3 both, the original ndarray and the derived class returned a
 scalar....

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


More information about the NumPy-Tickets mailing list