From 29b326b71b0853d22c5847e9403cb2c35c6393f7 Mon Sep 17 00:00:00 2001 From: Pierre Matalon Date: Mon, 2 Oct 2023 10:05:55 +0200 Subject: [PATCH] Fix Codacy --- demos/FiniteVolume/nagumo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/FiniteVolume/nagumo.cpp b/demos/FiniteVolume/nagumo.cpp index d4434979e..0a343c661 100644 --- a/demos/FiniteVolume/nagumo.cpp +++ b/demos/FiniteVolume/nagumo.cpp @@ -70,7 +70,7 @@ int main(int argc, char* argv[]) // Multiresolution parameters std::size_t min_level = 0; - std::size_t max_level = dim == 1 ? 5 : 3; + std::size_t max_level = 4; double mr_epsilon = 1e-4; // Threshold used by multiresolution double mr_regularity = 1.; // Regularity guess for multiresolution