Author: Maciej Fijalkowski <fij...@gmail.com> Branch: Changeset: r50006:bef722513f6c Date: 2011-11-30 12:29 +0200 http://bitbucket.org/pypy/pypy/changeset/bef722513f6c/
Log: oops, fix translation 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 @@ -1111,8 +1111,7 @@ return 'Slice(%s)' % self.parent.debug_repr() def copy(self): - array = NDimArray(self.size, self.shape[:], self.parent.dtype, - self.parent.order) + array = NDimArray(self.size, self.shape[:], self.find_dtype()) iter = self.start_iter() while not iter.done(): array.setitem(iter.offset, self.getitem(iter.offset)) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit