[Numpy-tickets] [NumPy] #590: arr.max() does not always return maximum

NumPy numpy-tickets@scipy....
Tue Oct 9 20:14:18 CDT 2007


#590: arr.max() does not always return maximum
------------------------+---------------------------------------------------
 Reporter:  stefan      |       Owner:  somebody     
     Type:  defect      |      Status:  new          
 Priority:  high        |   Milestone:  1.0.4 Release
Component:  numpy.core  |     Version:  devel        
 Severity:  major       |    Keywords:  maximum      
------------------------+---------------------------------------------------
 (See attachment for data)

 {{{
 z = N.fromfile('z.dat',sep=' ')
 print q.max(), q[q > q.max()]
 }}}

 {{{
 0.149478116585 [ 0.15997875  0.17071139  0.16408428  0.17560516]
 }}}

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/590>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list