mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-19 16:32:56 -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.
|
/// 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user