[Scipy-svn] r4292 - branches/refactor_fft/scipy/fftpack/src/djbfft

scipy-svn at scipy.org scipy-svn at scipy.org
Mon May 12 10:54:27 EDT 2008


Author: cdavid
Date: 2008-05-12 09:54:22 -0500 (Mon, 12 May 2008)
New Revision: 4292

Modified:
   branches/refactor_fft/scipy/fftpack/src/djbfft/convolve.cxx
Log:
Remove dead code.

Modified: branches/refactor_fft/scipy/fftpack/src/djbfft/convolve.cxx
===================================================================
--- branches/refactor_fft/scipy/fftpack/src/djbfft/convolve.cxx	2008-05-12 14:53:35 UTC (rev 4291)
+++ branches/refactor_fft/scipy/fftpack/src/djbfft/convolve.cxx	2008-05-12 14:54:22 UTC (rev 4292)
@@ -4,25 +4,15 @@
 #include "common.h"
 
 #ifdef WITH_FFTW
-#define destroy_convolve_cache_def destroy_convolve_cache_fftw
 #define convolve_def convolve_fftw
 #define convolve_z_def convolve_z_fftw
 #define init_convolution_kernel_def init_convolution_kernel_fftw
 #else
-#define destroy_convolve_cache_def destroy_convolve_cache_fftpack
 #define convolve_def convolve_fftpack
 #define convolve_z_def convolve_z_fftpack
 #define init_convolution_kernel_def init_convolution_kernel_fftpack
 #endif
 
-#if 0
-GEN_CACHE(ddjbfft, (int n)
-	  , double *ptr;, (caches_ddjbfft[i].n == n)
-	  , caches_ddjbfft[id].ptr =
-	  (double *) malloc(sizeof(double) * n);,
-	  free(caches_ddjbfft[id].ptr);, 20)
-#endif
-
 using namespace fft;
 
 class DDJBFFTCache: public Cache<DJBFFTCacheId> {




More information about the Scipy-svn mailing list