EclipseWriter: remove leftovers of WriterTimer.

AdaptiveSimulatorTimer: use back instead of rbegin.
This commit is contained in:
Robert K 2015-01-15 11:34:59 +01:00
parent 757bc67b80
commit aa66a4304f

View File

@ -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();
} }