Merge pull request #3634 from alfbr/error-message

Do not print confusing message to terminal.
This commit is contained in:
Joakim Hove authored and GitHub committed 2021-10-27 11:21:09 +02:00
commit 5a54bb0728
1 file changed
+1 -1
+1 -1
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();