[Scipy-svn] r5353 - trunk/scipy/fftpack

scipy-svn@scip... scipy-svn@scip...
Wed Jan 7 08:48:31 CST 2009


Author: cdavid
Date: 2009-01-07 08:48:20 -0600 (Wed, 07 Jan 2009)
New Revision: 5353

Modified:
   trunk/scipy/fftpack/basic.py
Log:
Raise an exception when single prec real input in fft.

Modified: trunk/scipy/fftpack/basic.py
===================================================================
--- trunk/scipy/fftpack/basic.py	2009-01-07 14:47:42 UTC (rev 5352)
+++ trunk/scipy/fftpack/basic.py	2009-01-07 14:48:20 UTC (rev 5353)
@@ -110,6 +110,8 @@
         work_function = fftpack.zfft
     elif istype(tmp, numpy.complex64):
         raise NotImplementedError
+    elif istype(tmp, numpy.float32):
+        raise NotImplementedError
     else:
         overwrite_x = 1
         work_function = fftpack.zrfft



More information about the Scipy-svn mailing list