Merge release-4-6 into master
[alexxy/gromacs.git] / src / gromacs / mdlib / fft5d.cpp
index c82da14c68d25abcbfa7caa499f13565d6479062..e544cd996590ee5c12a1a83fc39e7d57a55032ad 100644 (file)
@@ -517,6 +517,7 @@ fft5d_plan fft5d_plan_3d(int NG, int MG, int KG, MPI_Comm comm[2], int flags, t_
              */
 #pragma omp parallel for num_threads(nthreads) schedule(static) ordered
             for(t=0; t<nthreads; t++)
+            {    
 #pragma omp ordered
             {
                 int tsize = ((t+1)*pM[s]*pK[s]/nthreads)-(t*pM[s]*pK[s]/nthreads);
@@ -527,6 +528,7 @@ fft5d_plan fft5d_plan_3d(int NG, int MG, int KG, MPI_Comm comm[2], int flags, t_
                     gmx_fft_init_many_1d     ( &plan->p1d[s][t],  C[s], tsize, (flags&FFT5D_NOMEASURE)?GMX_FFT_FLAG_CONSERVATIVE:0 );
                 }
             }
+            }
         }
 
 #ifdef GMX_FFT_FFTW3