#115 appears to be fixed too
authorDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Wed, 6 May 2009 17:27:25 +0000 (19:27 +0200)
committerDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Wed, 6 May 2009 17:27:25 +0000 (19:27 +0200)
Cython/Includes/numpy.pxd

index 298bb4e32273c5b7b110dcf309f3a1f6010f14da..77ea669400eae5ca729407f278470eb9e8d93004 100644 (file)
@@ -214,12 +214,12 @@ cdef extern from "numpy/arrayobject.h":
         float imag
 
     ctypedef struct npy_cdouble:
-        double real
-        double imag
+        float real
+        float imag
 
     ctypedef struct npy_clongdouble:
-        long double real
-        long double imag
+        float real
+        float imag
 
 # Typedefs that matches the runtime dtype objects in
 # the numpy module.