Use timestep number as is

Why add one? They are already one based.
This commit is contained in:
Roland Kaufmann 2013-11-21 10:55:59 +01:00
parent b9c667214d
commit 04ed5b23b4

View File

@ -549,7 +549,7 @@ private:
const SimulatorTimer& timer) const SimulatorTimer& timer)
: EclipseHandle <ecl_sum_tstep_type> ( : EclipseHandle <ecl_sum_tstep_type> (
ecl_sum_add_tstep (sum, ecl_sum_add_tstep (sum,
timer.currentStepNum () + 1, timer.currentStepNum (),
// currentTime is always relative to start // currentTime is always relative to start
Opm::unit::convert::to (timer.currentTime (), Opm::unit::convert::to (timer.currentTime (),
Opm::unit::day)), Opm::unit::day)),