remove excess printf() argument from loop output

This commit is contained in:
Axel Kohlmeyer
2015-09-01 09:26:23 -04:00
parent a7bbf3b19b
commit a91a75bb0d

View File

@ -121,9 +121,9 @@ void Finish::end(int flag)
const char fmt1[] = "Loop time of %g on %d procs " const char fmt1[] = "Loop time of %g on %d procs "
"for %d steps with " BIGINT_FORMAT " atoms\n\n"; "for %d steps with " BIGINT_FORMAT " atoms\n\n";
if (screen) fprintf(screen,fmt1,time_loop,ntasks,update->nsteps, if (screen) fprintf(screen,fmt1,time_loop,ntasks,update->nsteps,
atom->natoms,cpu_loop); atom->natoms);
if (logfile) fprintf(logfile,fmt1,time_loop,ntasks,update->nsteps, if (logfile) fprintf(logfile,fmt1,time_loop,ntasks,update->nsteps,
atom->natoms,cpu_loop); atom->natoms);
// Gromacs/NAMD-style performance metric for suitable unit settings // Gromacs/NAMD-style performance metric for suitable unit settings