Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-multidim-shards
Changeset: r49376:054e78d993dc
Date: 2011-11-13 18:20 +0100
http://bitbucket.org/pypy/pypy/changeset/054e78d993dc/
Log: one more test
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
@@ -497,7 +497,8 @@
"The truth value of an array with more than one element is
ambiguous. Use a.any() or a.all()"))
except ValueError:
pass
- return
space.wrap(space.is_true(self.get_concrete().eval(self.start).wrap(space)))
+ return space.wrap(space.is_true(self.get_concrete().eval(
+ self.start_iter()).wrap(space)))
def getitem(self, item):
raise NotImplementedError
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit