diff --git a/opm/autodiff/ISTLSolverEbos.hpp b/opm/autodiff/ISTLSolverEbos.hpp index 52ad5674d..e00fd6a16 100644 --- a/opm/autodiff/ISTLSolverEbos.hpp +++ b/opm/autodiff/ISTLSolverEbos.hpp @@ -534,7 +534,7 @@ protected: // Check for failure of linear solver. if (!parameters_.ignoreConvergenceFailure_ && !result.converged) { const std::string msg("Convergence failure for linear solver."); - OPM_THROW_NOLOG(LinearSolverProblem, msg); + OPM_THROW_NOLOG(NumericalIssue, msg); } } protected: diff --git a/opm/autodiff/ParallelOverlappingILU0.hpp b/opm/autodiff/ParallelOverlappingILU0.hpp index caf0b41be..2698841ef 100644 --- a/opm/autodiff/ParallelOverlappingILU0.hpp +++ b/opm/autodiff/ParallelOverlappingILU0.hpp @@ -935,7 +935,7 @@ protected: milun_decomposition( A, iluIteration, milu, *ILU, *reorderer, *inverseReorderer ); } } - catch ( const Dune::MatrixBlockError& error ) + catch (const Dune::MatrixBlockError& error) { message = error.what(); std::cerr<<"Exception occured on process " << rank << " during " <<