Commits

Anders Lehmann  committed 2fb2750 Draft

make translation work

  • Participants
  • Parent commits 8d399fa
  • Branches numpypy_count_nonzero

Comments (0)

Files changed (1)

File pypy/module/micronumpy/interp_numarray.py

         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):