[pypy-commit] pypy default: wrong arg passed to jitdriver

mattip noreply at buildbot.pypy.org
Wed Sep 18 08:13:41 CEST 2013


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r66994:29adbad234d9
Date: 2013-09-18 09:12 +0300
http://bitbucket.org/pypy/pypy/changeset/29adbad234d9/

Log:	wrong arg passed to jitdriver

diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -96,7 +96,7 @@
             raise OperationError(space.w_ValueError,
                                  space.wrap("index out of range for array"))
         idx_iter = idx.create_iter()
-        size = loop.count_all_true_iter(idx_iter, self.get_shape(), idx.get_dtype())
+        size = loop.count_all_true_iter(idx_iter, idx.get_shape(), idx.get_dtype())
         if size > val.get_size() and val.get_size() > 1:
             raise OperationError(space.w_ValueError, space.wrap("NumPy boolean array indexing assignment "
                                                                 "cannot assign %d input values to "


More information about the pypy-commit mailing list