diff --git a/opm/core/io/eclipse/EclipseWriter.cpp b/opm/core/io/eclipse/EclipseWriter.cpp index 59440ebe..7ea4197b 100644 --- a/opm/core/io/eclipse/EclipseWriter.cpp +++ b/opm/core/io/eclipse/EclipseWriter.cpp @@ -549,7 +549,7 @@ private: const SimulatorTimer& timer) : EclipseHandle ( ecl_sum_add_tstep (sum, - timer.currentStepNum () + 1, + timer.currentStepNum (), // currentTime is always relative to start Opm::unit::convert::to (timer.currentTime (), Opm::unit::day)),