Merge release-4-5-patches into release-4-6
[alexxy/gromacs.git] / src / mdlib / fft5d.c
index e2f5266ec423b9eeb791f11034034274a3031be8..bc431757dcfd10eb873b87e0a943d4dac0cf68a0 100644 (file)
@@ -432,7 +432,7 @@ fft5d_plan fft5d_plan_3d(int NG, int MG, int KG, MPI_Comm comm[2], int flags, t_
 #ifdef GMX_FFT_FFTW3  /*if not FFTW - then we don't do a 3d plan but insead only 1D plans */
     if ((!(flags&FFT5D_INPLACE)) && (!(P[0]>1 || P[1]>1))) {  /*don't do 3d plan in parallel or if in_place requested */  
             int fftwflags=FFTW_DESTROY_INPUT;
-            fftw_iodim dims[3];
+            FFTW(iodim) dims[3];
             int inNG=NG,outMG=MG,outKG=KG;
 
             FFTW_LOCK;