[Numpy-tickets] [NumPy] #955: [debian #505999] memory leak in exponentiation
NumPy
numpy-tickets@scipy....
Sun Feb 8 02:54:01 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):
Note to self: This is due to np.int32 being derived from the Python int
type. On 64-bit systems, the results are the opposite way around:
{{{
In [4]: 0.0**np.int32(-3.5)
Out[4]: inf
In [5]: 0.0**np.int64(-3.5)
<type 'exceptions.ZeroDivisionError'>: 0.0 cannot be raised to a negative
power
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/955#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list