From 033f2903923af5512bac4c4af0a9a70ee90e624d Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 23 Jan 2015 16:38:08 +0100 Subject: [PATCH] Add missing return statements. --- opm/core/linalg/ParallelIstlInformation.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/core/linalg/ParallelIstlInformation.hpp b/opm/core/linalg/ParallelIstlInformation.hpp index 80c2a6fc3..0aad8a1a5 100644 --- a/opm/core/linalg/ParallelIstlInformation.hpp +++ b/opm/core/linalg/ParallelIstlInformation.hpp @@ -345,7 +345,7 @@ private: template T operator()(const T& t1, const T& t2, const T1& mask) { - b_(t1, maskValue(t2, mask)); + return b_(t1, maskValue(t2, mask)); } template T maskValue(const T& t, const T1& mask) @@ -377,7 +377,7 @@ private: template T operator()(const T& t1, const T& t2, const T1& mask) { - b_(t1, maskValue(t2, mask)); + return b_(t1, maskValue(t2, mask)); } template T maskValue(const T& t, const T1& mask)