Ver código fonte

Correct order of rows, cols arguments to fftw_plan_dft_2d


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34351 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 anos atrás
pai
commit
cbb63d89e4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/gmath/fft.c

+ 1 - 1
lib/gmath/fft.c

@@ -80,7 +80,7 @@ int fft2(int i_sign, double (*data)[2], int NN, int dimc, int dimr)
     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);