From 5f2e89786f7312db83707cdfd2ac0bc102637e63 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 3 Oct 2013 15:00:01 +0200 Subject: [PATCH] fix compilation issue due to new timer class in lammps-icms --- src/thermo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }