Merge pull request #3634 from alfbr/error-message

Do not print confusing message to terminal.
This commit is contained in:
Joakim Hove 2021-10-27 11:21:09 +02:00 committed by GitHub
commit 5a54bb0728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,7 +332,7 @@ namespace Opm {
if (severity == ConvergenceReport::Severity::NotANumber) {
OPM_THROW(NumericalIssue, "NaN residual found!");
} else if (severity == ConvergenceReport::Severity::TooLarge) {
OPM_THROW(NumericalIssue, "Too large residual found!");
OPM_THROW_NOLOG(NumericalIssue, "Too large residual found!");
}
}
report.update_time += perfTimer.stop();