New submission from Dmitrey <[email protected]>: >>> 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 <[email protected]> <https://bugs.pypy.org/issue1717> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
