From 0841cea042bb6410e9f83f27b73d85111742a2cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Tue, 14 Aug 2012 11:05:09 +0200 Subject: [PATCH] Restore coding conventions. Inadvertently lost in commit 064184b. --- opm/core/linalg/LinearSolverFactory.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/opm/core/linalg/LinearSolverFactory.cpp b/opm/core/linalg/LinearSolverFactory.cpp index 98552c84..4e2f3679 100644 --- a/opm/core/linalg/LinearSolverFactory.cpp +++ b/opm/core/linalg/LinearSolverFactory.cpp @@ -30,6 +30,7 @@ #if HAVE_DUNE_ISTL #include #endif + #if HAVE_AGMG #include #endif @@ -73,12 +74,14 @@ namespace Opm solver_.reset(new LinearSolverIstl(param)); #endif } - else if (ls == "agmg") { + + else if (ls == "agmg") { #if HAVE_AGMG solver_.reset(new LinearSolverAGMG(param)); #endif - } - else { + } + + else { THROW("Linear solver " << ls << " is unknown."); }