mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-01 12:06:54 -06:00
convert users of the ASSERT and the ASSERT2 macros to standard assert()
This commit is contained in:
parent
f4a22486ef
commit
2cfe79f664
@ -85,7 +85,7 @@ namespace Opm
|
||||
/// Current step length.
|
||||
double SimulatorTimer::currentStepLength() const
|
||||
{
|
||||
ASSERT(!done());
|
||||
assert(!done());
|
||||
return timesteps_[current_step_];
|
||||
}
|
||||
|
||||
@ -131,7 +131,7 @@ namespace Opm
|
||||
/// Next step.
|
||||
SimulatorTimer& SimulatorTimer::operator++()
|
||||
{
|
||||
ASSERT(!done());
|
||||
assert(!done());
|
||||
current_time_ += timesteps_[current_step_];
|
||||
++current_step_;
|
||||
return *this;
|
||||
|
Loading…
Reference in New Issue
Block a user