mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EclipseWriter: remove leftovers of WriterTimer.
AdaptiveSimulatorTimer: use back instead of rbegin.
This commit is contained in:
parent
757bc67b80
commit
aa66a4304f
@ -100,7 +100,7 @@ namespace Opm
|
|||||||
double AdaptiveSimulatorTimer::stepLengthTaken() const
|
double AdaptiveSimulatorTimer::stepLengthTaken() const
|
||||||
{
|
{
|
||||||
assert( ! steps_.empty() );
|
assert( ! steps_.empty() );
|
||||||
return *(steps_.rbegin());
|
return steps_.back();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user