Author: Matti Picus <[email protected]>
Branch: missing-ndarray-attributes
Changeset: r60854:90c5f3f0ef1b
Date: 2013-02-04 02:09 +0200
http://bitbucket.org/pypy/pypy/changeset/90c5f3f0ef1b/
Log: fix one translation error
diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py
--- a/pypy/module/micronumpy/types.py
+++ b/pypy/module/micronumpy/types.py
@@ -140,7 +140,7 @@
@specialize.argtype(1, 2)
def box_complex(self, real, imag):
#XXX this is the place to display a warning
- return self.BoxType(rffi.cast(self.T, real))
+ return self.box(real)
def unbox(self, box):
assert isinstance(box, self.BoxType)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit