Author: Richard Plangger <[email protected]>
Branch: vecopt-merge
Changeset: r80189:7c83ce701286
Date: 2015-10-14 08:52 +0200
http://bitbucket.org/pypy/pypy/changeset/7c83ce701286/

Log:    removed fromfloat call, but called constructor (wrong), fixed

diff --git a/rpython/jit/tool/oparser.py b/rpython/jit/tool/oparser.py
--- a/rpython/jit/tool/oparser.py
+++ b/rpython/jit/tool/oparser.py
@@ -172,7 +172,7 @@
         if elem.startswith('i'):
             v = InputArgInt(0)
         elif elem.startswith('f'):
-            v = InputArgFloat(0.0)
+            v = InputArgFloat.fromfloat(0.0)
         elif elem.startswith('v'):
             v = InputArgVector()
             elem = self.update_vector(v, elem)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to