[Numpy-tickets] [NumPy] #607: segfault from particular indexing of empty array
NumPy
numpy-tickets@scipy....
Tue Nov 6 01:55:40 CST 2007
#607: segfault from particular indexing of empty array
---------------------+------------------------------------------------------
Reporter: efiring | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.0.4
Component: Other | Version: none
Severity: normal | Keywords:
---------------------+------------------------------------------------------
The following causes a segfault upon execution as a script:
import numpy
u = numpy.array([])
g = numpy.array([True, True])
u[g] = 0
See the thread starting with
http://projects.scipy.org/pipermail/numpy-
discussion/2007-November/029801.html
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/607>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list