You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix unexpected behavior of fft call on clongdouble type on win32
clongdouble dtype on Windows is of the same size of cdouble dtype,
hence attempt to convert array to cdouble type in PyArray_FROM_OTF
does not change the typenum.
The dispatch in mkl_fft assumes that typenum is either CDOUBLE or
CFLOAT for complex inputs, and hence a gap.
Set NPY_ENSURECOPY flag in the call to PyArray_FROM_OTF to ensure
that coercion results in typenum precisely either CFLOAT or CDOUBLE.
0 commit comments