Author: Maciej Fijalkowski <[email protected]>
Branch: numppy-flatitter
Changeset: r51846:5a27b974638a
Date: 2012-01-27 12:24 +0200
http://bitbucket.org/pypy/pypy/changeset/5a27b974638a/
Log: fix the wrong name
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
@@ -398,7 +398,7 @@
neg = interp_ufuncs.get(interp.space).negative
w_res = neg.call(interp.space, [arr])
elif self.name == "flat":
- w_res = arr.descr_flat(interp.space)
+ w_res = arr.descr_get_flatiter(interp.space)
else:
assert False # unreachable code
if isinstance(w_res, BaseArray):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit