Author: Romain Guillebert <romain...@gmail.com> Branch: Changeset: r66361:c28b4d66af84 Date: 2013-08-27 15:41 +0100 http://bitbucket.org/pypy/pypy/changeset/c28b4d66af84/
Log: Fix boolean indexing diff --git a/pypy/module/micronumpy/loop.py b/pypy/module/micronumpy/loop.py --- a/pypy/module/micronumpy/loop.py +++ b/pypy/module/micronumpy/loop.py @@ -370,7 +370,7 @@ def setitem_filter(arr, index, value): arr_iter = arr.create_iter() - index_iter = index.create_iter() + index_iter = index.create_iter(arr.get_shape()) value_iter = value.create_iter() shapelen = len(arr.get_shape()) index_dtype = index.get_dtype() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit