From a2be89d586c6c19ee826413041d8f93b9b5fa48a Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 7 Dec 2018 12:06:29 +0100 Subject: [PATCH] bugfix: Use a typedef that is actually defined. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes `error: ‘LinearSolverScalar’ was not declared in this scope`. --- ebos/ecltracermodel.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebos/ecltracermodel.hh b/ebos/ecltracermodel.hh index 9f6ec8260..b340dc7ae 100644 --- a/ebos/ecltracermodel.hh +++ b/ebos/ecltracermodel.hh @@ -381,8 +381,8 @@ protected: bool linearSolve_(const TracerMatrix& M, TracerVector& x, TracerVector& b) { #if ! DUNE_VERSION_NEWER(DUNE_COMMON, 2,7) - Dune::FMatrixPrecision::set_singular_limit(1.e-30); - Dune::FMatrixPrecision::set_absolute_limit(1.e-30); + Dune::FMatrixPrecision::set_singular_limit(1.e-30); + Dune::FMatrixPrecision::set_absolute_limit(1.e-30); #endif x = 0.0; Scalar tolerance = 1e-2;