[pypy-issue] [issue1717] numpy: bug with boolean indexation
Dmitrey
tracker at bugs.pypy.org
Tue Mar 25 15:29:32 CET 2014
New submission from Dmitrey <dmitrey15 at ukr.net>:
>>> from numpy import *
>>> a = array((1,5)).reshape(2,1)
>>> a[0,atleast_1d(True)]=100
>>> a
array([[100],
[ 5]])
>>>> from numpy import *
>>>> a = array((1,5)).reshape(2,1)
>>>> a[0,atleast_1d(True)]=100
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IndexError: index 1 is out of bounds for axis 1 with size 1
----------
messages: 6629
nosy: Dmitrey, pypy-issue
priority: bug
status: unread
title: numpy: bug with boolean indexation
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1717>
________________________________________
More information about the pypy-issue
mailing list