geggo / gpyfft

python wrapper for the OpenCL FFT library clFFT
GNU Lesser General Public License v3.0
54 stars 21 forks source link

gpyfft not cythonizing with cython-0.20 #7

Closed latrocinia closed 10 years ago

latrocinia commented 10 years ago

gpyfftlib.pyx is not correctly cythonizing since cython version 0.20 and gives an error. The variable 'ndim' is not correctly typed apparently.

The following seemed to work for me:

cdef clfftDim ndim = <clfftDim> len(shape)

Cheers, Gydo

geggo commented 10 years ago

thanks for reporting this issue, pushed a fix 0d7fc6754c