[pypy-commit] pypy matrixmath-dot: fix for renamed class

mattip noreply at buildbot.pypy.org
Mon Dec 5 22:42:03 CET 2011


Author: mattip
Branch: matrixmath-dot
Changeset: r50184:0f00b31fe95a
Date: 2011-12-04 21:48 +0200
http://bitbucket.org/pypy/pypy/changeset/0f00b31fe95a/

Log:	fix for renamed class

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
@@ -500,7 +500,7 @@
         dtype = interp_ufuncs.find_binop_result_dtype(space, 
                                      self.find_dtype(), w_other.find_dtype())
         #TODO: what should the order be? C or F?
-        arr = NDimArray(out_size, out_shape, dtype=dtype)
+        arr = W_NDimArray(out_size, out_shape, dtype=dtype)
         out_iter = ArrayIterator(out_size)
         #TODO: invalidate self, w_other with arr
         me_iter = BroadcastIterator(self,self.shape[:-1] + [1])


More information about the pypy-commit mailing list