[GRASS-SVN] r34351 - grass/trunk/lib/gmath

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 17 20:36:41 EST 2008


Author: glynn
Date: 2008-11-17 20:36:40 -0500 (Mon, 17 Nov 2008)
New Revision: 34351

Modified:
   grass/trunk/lib/gmath/fft.c
Log:
Correct order of rows, cols arguments to fftw_plan_dft_2d



Modified: grass/trunk/lib/gmath/fft.c
===================================================================
--- grass/trunk/lib/gmath/fft.c	2008-11-18 01:26:19 UTC (rev 34350)
+++ grass/trunk/lib/gmath/fft.c	2008-11-18 01:36:40 UTC (rev 34351)
@@ -80,7 +80,7 @@
     norm = 1.0 / sqrt(NN);
 
 #ifdef HAVE_FFTW3_H
-    plan = fftw_plan_dft_2d(dimc, dimr, data, data,
+    plan = fftw_plan_dft_2d(dimr, dimc, data, data,
 			    (i_sign < 0) ? FFTW_FORWARD : FFTW_BACKWARD,
 			    FFTW_ESTIMATE);
 



More information about the grass-commit mailing list