Author: Maciej Fijalkowski <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to