[Numpy-tickets] [NumPy] #519: allclose fails with inf

NumPy numpy-tickets@scipy....
Mon May 14 17:17:56 CDT 2007

#519: allclose fails with inf
 Reporter:  qwerty        |        Owner:  somebody
     Type:  defect        |       Status:  new     
 Priority:  normal        |    Milestone:          
Component:  numpy.core    |      Version:  1.0.1   
 Severity:  normal        |   Resolution:          
 Keywords:  allclose inf  |  
Comment (by qwerty):

 While we are dealing with inf, we might as well properly handle the
 following as well:

 >>> allclose(inf,100)
 >>> allclose(100,inf)

 I know that properly handling such cases will slow the comparisions down,
 but these really need to be taken care of.  Users should not have to check
 if elements are inf...

Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/519#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list