[NumPy-Tickets] [NumPy] #1956: inner1d sometimes dumps core on arrays whose shape contains 0
NumPy Trac
numpy-tickets@scipy....
Thu Sep 29 12:38:01 CDT 2011
#1956: inner1d sometimes dumps core on arrays whose shape contains 0
--------------------------+-------------------------------------------------
Reporter: tbarnetlamb | Owner: somebody
Type: defect | Status: closed
Priority: normal | Milestone: 1.6.1
Component: Other | Version: 1.4.1
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by charris):
* status: new => closed
* resolution: => fixed
* milestone: Unscheduled => 1.6.1
Comment:
Raises a ValueError in development branch:
{{{
In [4]: inner1d(numpy.zeros((0, 2)), numpy.zeros((0, 2)))
---------------------------------------------------------------------------
ValueError Traceback (most recent call
last)
/home/charris/<ipython-input-4-6e74a21a5507> in <module>()
----> 1 inner1d(numpy.zeros((0, 2)), numpy.zeros((0, 2)))
ValueError: Iteration of zero-sized operands is not enabled
}}}
It appears that this bug is fixed in version 1.6.1, if not earlier.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1956#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list