convert users of the ASSERT and the ASSERT2 macros to standard assert()

This commit is contained in:
Andreas Lauser 2013-08-28 14:00:35 +02:00
parent f4a22486ef
commit 2cfe79f664

View File

@ -85,7 +85,7 @@ namespace Opm
/// Current step length. /// Current step length.
double SimulatorTimer::currentStepLength() const double SimulatorTimer::currentStepLength() const
{ {
ASSERT(!done()); assert(!done());
return timesteps_[current_step_]; return timesteps_[current_step_];
} }
@ -131,7 +131,7 @@ namespace Opm
/// Next step. /// Next step.
SimulatorTimer& SimulatorTimer::operator++() SimulatorTimer& SimulatorTimer::operator++()
{ {
ASSERT(!done()); assert(!done());
current_time_ += timesteps_[current_step_]; current_time_ += timesteps_[current_step_];
++current_step_; ++current_step_;
return *this; return *this;