[NumPy-Tickets] [NumPy] #1792: absolute(complex(inf)) raises invalid warning (py 3.2, win32)

NumPy Trac numpy-tickets@scipy....
Sun Apr 3 15:16:24 CDT 2011


#1792: absolute(complex(inf)) raises invalid warning (py 3.2, win32)
------------------------+---------------------------------------------------
 Reporter:  rgommers    |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  1.5.1      
 Keywords:              |  
------------------------+---------------------------------------------------
 Happens only on win32, not on OS X with python 3.2

 {{{
 >>> np.abs(np.inf)
 inf
 >>> np.abs(np.complex(np.inf))
 Warning: invalid value encountered in absolute
 inf
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1792>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list