Further fix to gmx tune-pme
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_tune_pme.c
index b0a7fb80cbcdc24df146d71240dae02d579c831b..3dbda71d479041b6d544af01fcf82be779beb277 100644 (file)
@@ -328,7 +328,7 @@ static int parse_logfile(const char *logfile, const char *errfile,
                 /* Already found matchstring - look for cycle data */
                 if (str_starts(line, "Total  "))
                 {
-                    sscanf(line, "Total %lf", &(perfdata->Gcycles[test_nr]));
+                    sscanf(line, "Total %*f %lf", &(perfdata->Gcycles[test_nr]));
                     iFound = eFoundCycleStr;
                 }
                 break;