[pypy-commit] pypy dynamic-specialized-tuple: fix

alex_gaynor noreply at buildbot.pypy.org
Mon Apr 23 18:05:09 CEST 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: dynamic-specialized-tuple
Changeset: r54685:b0aa1fc69a03
Date: 2012-04-23 12:04 -0400
http://bitbucket.org/pypy/pypy/changeset/b0aa1fc69a03/

Log:	fix

diff --git a/pypy/rlib/rerased_raw.py b/pypy/rlib/rerased_raw.py
--- a/pypy/rlib/rerased_raw.py
+++ b/pypy/rlib/rerased_raw.py
@@ -308,7 +308,7 @@
         elif elem == INT:
             yield rffi.cast(lltype.Signed, storage.data.items[i])
         elif elem == FLOAT:
-            yield longlong2float.longlong2float(rffi.cast(lltype.Signed, storage.data[i]))
+            yield longlong2float.longlong2float(rffi.cast(lltype.Signed, storage.data.items[i]))
         elif elem == BOOL:
             yield rffi.cast(lltype.Bool, storage.data.items[i])
         else:


More information about the pypy-commit mailing list