From faa3646a5265cb9f9ac125c6625583daf6d39f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Tue, 22 Oct 2013 10:11:53 +0200 Subject: [PATCH] Fix convergence failure exception message The message was a leftover from the ImpesTPFA solver and should reflect the actual location. Noticed by: qilicun (Liu Ming) Fixes: Issue #50 --- opm/autodiff/FullyImplicitBlackoilSolver.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opm/autodiff/FullyImplicitBlackoilSolver.cpp b/opm/autodiff/FullyImplicitBlackoilSolver.cpp index 38190071d..096befcf1 100644 --- a/opm/autodiff/FullyImplicitBlackoilSolver.cpp +++ b/opm/autodiff/FullyImplicitBlackoilSolver.cpp @@ -778,7 +778,9 @@ namespace { matr.outerIndexPtr(), matr.innerIndexPtr(), matr.valuePtr(), total_residual.value().data(), dx.data()); if (!rep.converged) { - OPM_THROW(std::runtime_error, "ImpesTPFAAD::solve(): Linear solver convergence failure."); + OPM_THROW(std::runtime_error, + "FullyImplicitBlackoilSolver::solveJacobianSystem(): " + "Linear solver convergence failure."); } return dx; }