[Scipy-svn] r3216 - trunk/Lib/fftpack/src

scipy-svn at scipy.org scipy-svn at scipy.org
Wed Aug 1 10:00:50 EDT 2007


Author: cdavid
Date: 2007-08-01 09:00:45 -0500 (Wed, 01 Aug 2007)
New Revision: 3216

Modified:
   trunk/Lib/fftpack/src/drfft_fftw3.c
Log:
Set correct enum value instead of generated value by the preprocessor for FFTW3 real wrapper

Modified: trunk/Lib/fftpack/src/drfft_fftw3.c
===================================================================
--- trunk/Lib/fftpack/src/drfft_fftw3.c	2007-08-01 13:41:33 UTC (rev 3215)
+++ trunk/Lib/fftpack/src/drfft_fftw3.c	2007-08-01 14:00:45 UTC (rev 3216)
@@ -32,7 +32,7 @@
     double *ptrc = NULL;
     fftw_plan plan = NULL;
 
-    i = get_cache_id_drfftw3(n, direction, (1U << 6));
+    i = get_cache_id_drfftw3(n, direction, FFTW_ESTIMATE);
     plan = caches_drfftw3[i].plan;
     ptrc = caches_drfftw3[i].ptr;
     switch (direction) {




More information about the Scipy-svn mailing list