[pypy-commit] pypy indexing-by-array: wip
mattip
noreply at buildbot.pypy.org
Mon Mar 18 22:06:50 CET 2013
Author: Matti Picus <matti.picus at gmail.com>
Branch: indexing-by-array
Changeset: r62406:628865d8e981
Date: 2013-03-18 13:36 -0700
http://bitbucket.org/pypy/pypy/changeset/628865d8e981/
Log: wip
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
@@ -300,9 +300,9 @@
def getitem_filter(res, arr, index):
res_iter = res.create_iter()
- print 'xxx'
- index_iter = index.create_iter(arr.get_shape(), backward_broadcast=False)
- print 'yyy'
+ print 'index.size', index.get_size()
+ print 'res.size', res.get_size()
+ index_iter = index.create_iter(arr.get_shape(), backward_broadcast=True)
arr_iter = arr.create_iter()
shapelen = len(arr.get_shape())
arr_dtype = arr.get_dtype()
More information about the pypy-commit
mailing list