[pypy-commit] pypy default: another fix. I don't think views of virtual arrays are well supported

fijal noreply at buildbot.pypy.org
Wed Dec 7 16:12:26 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r50251:060a7ce40fa6
Date: 2011-12-07 17:11 +0200
http://bitbucket.org/pypy/pypy/changeset/060a7ce40fa6/

Log:	another fix. I don't think views of virtual arrays are well
	supported

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
@@ -1276,7 +1276,7 @@
         return array
 
     def get_storage(self, space):
-        return self.parent.storage
+        return self.parent.get_storage()
 
 class W_NDimArray(BaseArray):
     """ A class representing contiguous array. We know that each iteration


More information about the pypy-commit mailing list