[NumPy-Tickets] [NumPy] #1672: numpy.allclose raises IndexError on scalar 'inf'

NumPy Trac numpy-tickets@scipy....
Fri Jan 7 23:35:35 CST 2011


#1672: numpy.allclose raises IndexError on scalar 'inf'
------------------------+---------------------------------------------------
 Reporter:  lamblin     |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  2.0.0   
Component:  numpy.core  |     Version:  1.4.1   
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by jpeel):

 This was a very simple patch. Since copies of the arrays are made anyway,
 we can avoid the zero-dimensional array indexing problem by setting ndmin
 to 1 when these copies are made.

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


More information about the NumPy-Tickets mailing list