Author: Matti Picus <[email protected]>
Branch: 
Changeset: r67011:799a5addbfc5
Date: 2013-09-20 00:02 +0300
http://bitbucket.org/pypy/pypy/changeset/799a5addbfc5/

Log:    fix for failing test

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
@@ -374,7 +374,7 @@
 
 def setitem_filter(arr, index, value, size):
     arr_iter = arr.create_iter()
-    index_iter = index.create_iter(arr.get_shape())
+    index_iter = index.create_iter(index.get_shape())
     value_iter = value.create_iter([size])
     shapelen = len(arr.get_shape())
     index_dtype = index.get_dtype()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to