mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added errors_[0] == 0 to conditional
This commit is contained in:
committed by
Erik Hide Saeternes
parent
37e96e211c
commit
6c556484b1
@@ -192,7 +192,7 @@ namespace Opm
|
||||
OpmLog::info(fmt::format("Computed step size (tol): {} days", unit::convert::to( newDt, unit::day )));
|
||||
return newDt;
|
||||
}
|
||||
else if (errors_[1] == 0 || errors_[2] == 0.)
|
||||
else if (errors_[0] == 0 || errors_[1] == 0 || errors_[2] == 0.)
|
||||
{
|
||||
if ( verbose_ )
|
||||
OpmLog::info("The solution between time steps does not change, there is no time step constraint from the PID time step control ");
|
||||
|
Reference in New Issue
Block a user