fix compilation issue due to new timer class in lammps-icms

This commit is contained in:
Axel Kohlmeyer
2013-10-03 15:00:01 +02:00
parent 8edeead355
commit 5f2e89786f

View File

@ -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);
}