From 2bd80947b9f7a806c664aff1cb1317b2ff7d34bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Mon, 31 Aug 2020 16:33:52 +0200 Subject: [PATCH] Fix Debug Build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove left parenthesis character left over from transitioning to the type-based parameter system. The '(' produced a build failure which only manifested in debug builds. Thanks to Håkon Hægland for bringing the issue to our attention. --- ebos/eclproblem.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 216a38663..de0f2e553 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -1150,7 +1150,7 @@ public: void endTimeStep() { #ifndef NDEBUG - if (getPropValue<(TypeTag, Properties::EnableDebuggingChecks>()) { + if (getPropValue()) { // in debug mode, we don't care about performance, so we check if the model does // the right thing (i.e., the mass change inside the whole reservoir must be // equivalent to the fluxes over the grid's boundaries plus the source rates