[NumPy-Tickets] [NumPy] #1956: inner1d sometimes dumps core on arrays whose shape contains 0
NumPy Trac
numpy-tickets@scipy....
Thu Sep 29 09:56:34 CDT 2011
#1956: inner1d sometimes dumps core on arrays whose shape contains 0
-------------------------+--------------------------------------------------
Reporter: tbarnetlamb | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: Other | Version: 1.4.1
Keywords: |
-------------------------+--------------------------------------------------
The following appears to be an error:
In [1]: import numpy.version
In [2]: numpy.version.version
Out[2]: '1.4.1'
In [3]: from numpy.core.umath_tests import inner1d
In [4]: inner1d(numpy.zeros((0,)), numpy.zeros((0,))) # okay
Out[4]: 0.0
In [5]: inner1d(numpy.zeros((0, 2)), numpy.zeros((0, 2))) # crashes
Fatal Python error: PyEval_RestoreThread: NULL tstate
Abort
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1956>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list