From 45d8750e93b50d4ba3bb235d42d62ecb8d98a180 Mon Sep 17 00:00:00 2001 From: Razvan Nane Date: Thu, 26 Oct 2023 09:45:48 +0200 Subject: [PATCH] Fix formatting and indentation --- opm/simulators/linalg/ISTLSolverEbosBda.hpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/opm/simulators/linalg/ISTLSolverEbosBda.hpp b/opm/simulators/linalg/ISTLSolverEbosBda.hpp index 1f086eb7a..9551ed11e 100644 --- a/opm/simulators/linalg/ISTLSolverEbosBda.hpp +++ b/opm/simulators/linalg/ISTLSolverEbosBda.hpp @@ -183,14 +183,13 @@ public: OPM_TIMEBLOCK(prepare); [[maybe_unused]] const bool firstcall = (this->matrix_ == nullptr); - // Avoid performing the decomposition on CPU when we also do it on GPU, but we do - // need to initialize the pointers. - if(bdaBridge_){ + // Avoid performing the decomposition on CPU when we also do it on GPU, + // but we do need to initialize the pointers. + if (bdaBridge_) { ParentType::initPrepare(M,b); - } - else { - ParentType::prepare(M,b); - } + } else { + ParentType::prepare(M,b); + } #if HAVE_OPENCL // update matrix entries for solvers.