Fixes method name in throw message.

This commit is contained in:
Markus Blatt 2020-08-19 08:11:50 +02:00
parent 0c0be3a941
commit 94eb0d5ffe

View File

@ -64,7 +64,7 @@ namespace mswellhelpers
for (size_t i_block = 0; i_block < y.size(); ++i_block) {
for (size_t i_elem = 0; i_elem < y[i_block].size(); ++i_elem) {
if (std::isinf(y[i_block][i_elem]) || std::isnan(y[i_block][i_elem]) ) {
OPM_THROW(Opm::NumericalIssue, "nan or inf value found in invDXDirect due to singular matrix");
OPM_THROW(Opm::NumericalIssue, "nan or inf value found after UMFPack solve due to singular matrix");
}
}
}