Author: Anders Lehmann <[email protected]>
Branch: numpypy_count_nonzero
Changeset: r55989:2fb2750f48ee
Date: 2012-07-07 15:41 +0200
http://bitbucket.org/pypy/pypy/changeset/2fb2750f48ee/

Log:    make translation work

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
@@ -403,7 +403,8 @@
         return Chunks(result)
 
     def descr_count_nonzero(self, space):
-        res = self.count_all_true()
+        concr = self.get_concrete()
+        res = concr.count_all_true()
         return space.wrap(res)
 
     def count_all_true(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to