Had to also put the type code in for the signed case.
authorWilliam Stein <wstein@gmail.com>
Fri, 3 Nov 2006 23:41:38 +0000 (15:41 -0800)
committerWilliam Stein <wstein@gmail.com>
Fri, 3 Nov 2006 23:41:38 +0000 (15:41 -0800)
Cython/Compiler/PyrexTypes.py

index c3ea8343b547a4becc026c2031d3b6b9042da5d0..34a63ce36a71a0208f18342b38ffaad40ca59dfe 100644 (file)
@@ -294,7 +294,7 @@ class CNumericType(CType):
     
     parsetuple_formats = ( # rank -> format
         "?HIkKn???", # unsigned
-        "chilL?fd?", # signed
+        "chilLnfd?", # signed
     )
     
     def __init__(self, rank, signed = 1, pymemberdef_typecode = None):