Author: Matti Picus <[email protected]>
Branch: 
Changeset: r61810:1ba981281500
Date: 2013-02-26 07:19 +0200
http://bitbucket.org/pypy/pypy/changeset/1ba981281500/

Log:    fix translation

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
@@ -507,7 +507,7 @@
         if v == 0:
             # XXX good place to warn
             return -maxint
-        return 1 / v
+        return rffi.cast(self.T, 1) / v
 
     @raw_unary_op
     def signbit(self, v):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to