[NumPy-Tickets] [NumPy] #1896: Another crash in numpy.subtract
NumPy Trac
numpy-tickets@scipy....
Wed Jul 6 13:45:18 CDT 2011
#1896: Another crash in numpy.subtract
------------------------+---------------------------------------------------
Reporter: rowen | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: numpy.core | Version: 1.6.0
Keywords: |
------------------------+---------------------------------------------------
Changes (by cgohlke):
* version: devel => 1.6.0
* milestone: Unscheduled =>
Comment:
Here's a reduced code that crashes on Windows with numpy 1.6 but works
correctly with numpy 1.5:
{{{
import numpy as np
a = np.zeros(65536)
b = np.zeros(a.shape, dtype=np.float32)
np.subtract(a, 0, b)
}}}
np.add() has the same problem. Using dtype=np.float64 works.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1896#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list