Author: Matti Picus <[email protected]>
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 "
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit