Merge pull request #2749 from bska/fix-debug-build

Fix Debug Build
This commit is contained in:
Bård Skaflestad
2020-08-31 17:10:31 +02:00
committed by GitHub

View File

@@ -1150,7 +1150,7 @@ public:
void endTimeStep()
{
#ifndef NDEBUG
if (getPropValue<(TypeTag, Properties::EnableDebuggingChecks>()) {
if (getPropValue<TypeTag, Properties::EnableDebuggingChecks>()) {
// 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