Merge release-4-5-patches into release-4-6
[alexxy/gromacs.git] / src / mdlib / gmx_wallcycle.c
index 8188c177f7ddb745a40ff88274c9ba9086260b72..b62f921c2a6be23eae94a60601c28367655c508c 100644 (file)
@@ -439,7 +439,7 @@ void wallcycle_print(FILE *fplog, int nnodes, int npme, double realtime,
             if (pme_subdivision(i))
             {
                 print_cycles(fplog,c2t,wcn[i],
-                             (i>=ewcPMEMESH || i<=ewcPME_SOLVE) ? npme : npp,
+                             (i>=ewcPMEMESH && i<=ewcPME_SOLVE) ? npme : npp,
                              wc->wcc[i].n,cycles[i],tot);
             }
         }