[pypy-svn] r75878 - pypy/branch/fast-forward/pypy/module/math

benjamin at codespeak.net benjamin at codespeak.net
Tue Jul 6 05:53:29 CEST 2010


Author: benjamin
Date: Tue Jul  6 05:53:27 2010
New Revision: 75878

Modified:
   pypy/branch/fast-forward/pypy/module/math/interp_math.py
Log:
correct namespace of isinf

Modified: pypy/branch/fast-forward/pypy/module/math/interp_math.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/math/interp_math.py	(original)
+++ pypy/branch/fast-forward/pypy/module/math/interp_math.py	Tue Jul  6 05:53:27 2010
@@ -347,7 +347,7 @@
                     not rarithmetic.isnan(original)):
                     raise OperationError(space.w_OverflowError,
                                          space.wrap("intermediate overflow"))
-                if isinf(original):
+                if rarithmetic.isinf(original):
                     inf_sum += original
                 special_sum += original
                 del partials[:]



More information about the Pypy-commit mailing list