Do not print confusing message to terminal.

This commit is contained in:
Alf Birger Rustad 2021-10-25 15:35:30 +02:00
parent 102a6b9507
commit a10387fcec

View File

@ -332,7 +332,7 @@ namespace Opm {
if (severity == ConvergenceReport::Severity::NotANumber) { if (severity == ConvergenceReport::Severity::NotANumber) {
OPM_THROW(NumericalIssue, "NaN residual found!"); OPM_THROW(NumericalIssue, "NaN residual found!");
} else if (severity == ConvergenceReport::Severity::TooLarge) { } 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(); report.update_time += perfTimer.stop();