[Numpy-tickets] [NumPy] #955: [debian #505999] memory leak in exponentiation

NumPy numpy-tickets@scipy....
Sun Feb 8 03:02:49 CST 2009


#955: [debian #505999] memory leak in exponentiation
-------------------------+--------------------------------------------------
 Reporter:  stefan       |        Owner:  somebody
     Type:  defect       |       Status:  new     
 Priority:  normal       |    Milestone:  1.1.2   
Component:  numpy.core   |      Version:  none    
 Severity:  normal       |   Resolution:          
 Keywords:  memory leak  |  
-------------------------+--------------------------------------------------
Comment (by stefan):

 Inconsistence illustrated from the array point-of-view:

 {{{
 In [27]: 0.0**np.array([-3])
 Out[27]: array([ Inf])

 In [28]: 0.0**np.array([-3])[0]
 <type 'exceptions.ZeroDivisionError'>: 0.0 cannot be raised to a negative
 power
 }}}

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


More information about the Numpy-tickets mailing list