diff --git a/src/thermo.cpp b/src/thermo.cpp index 41fca93b5b..33c40be039 100644 --- a/src/thermo.cpp +++ b/src/thermo.cpp @@ -1517,7 +1517,7 @@ void Thermo::compute_spcpu() void Thermo::compute_cpuremain() { if (firststep == 0) dvalue = 0.0; - else dvalue = timer->elapsed(TIME_LOOP) * + else dvalue = timer->elapsed(Timer::TOTAL) * (update->laststep - update->ntimestep) / (update->ntimestep - update->firststep); }