[bugfix] Allow querying the current time step even if we are done.

Previously there was an assertion whether the time stepping is still
running when querying the time step. After commit 5af794cfd5 this
triggered an assertion for Norne. As there is no reason to limit querying
the current time step in this way. This commit simply removes the assertion
in AdaptiveSimulatorTimer::currentStepLength.

This closes OPM/opm-autodiff#446
This commit is contained in:
Markus Blatt committed 2015-09-01 19:34:30 +02:00
1 parent 943a5d1e4c
commit 31617da382
1 file changed
-1
@@ -96,7 +96,6 @@ namespace Opm
double AdaptiveSimulatorTimer::currentStepLength () const
{
assert( ! done () );
return dt_;
}