Author: Richard Plangger <planri...@gmail.com>
Branch: vecopt-merge
Changeset: r80128:857944df0258
Date: 2015-10-12 11:33 +0200
http://bitbucket.org/pypy/pypy/changeset/857944df0258/

Log:    fixed added parameter to reshape (test_zjit)

diff --git a/pypy/module/micronumpy/compile.py 
b/pypy/module/micronumpy/compile.py
--- a/pypy/module/micronumpy/compile.py
+++ b/pypy/module/micronumpy/compile.py
@@ -829,7 +829,8 @@
             elif self.name == 'reshape':
                 w_arg = self.args[1]
                 assert isinstance(w_arg, ArrayConstant)
-                w_res = arr.reshape(interp.space, w_arg.wrap(interp.space))
+                order = -1 
+                w_res = arr.reshape(interp.space, w_arg.wrap(interp.space), 
order)
             else:
                 assert False
         else:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to