From 722c23f2c73fa4fefa71abbc6a69c9b5d69656c3 Mon Sep 17 00:00:00 2001 From: Rene Halver <r.halver@fz-juelich.de> Date: Fri, 28 Mar 2025 15:41:44 +0100 Subject: [PATCH] Fix switch --- include/ALL.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ALL.hpp b/include/ALL.hpp index 933ab18..e0f36a8 100644 --- a/include/ALL.hpp +++ b/include/ALL.hpp @@ -172,6 +172,7 @@ namespace ALL break; case LB_t::STAGGERED_MAX: balancer.reset(new StaggeredMax_LB<T, W>(d, (W)0, g)); + break; default: throw InvalidArgumentException(__FILE__, __func__, __LINE__, "Unknown type of loadbalancing passed."); @@ -422,6 +423,7 @@ namespace ALL case LB_t::STAGGERED_MAX: balancer->balance(loadbalancing_step); calculate_outline(); + break; default: throw InvalidArgumentException(__FILE__, __func__, __LINE__, "Unknown type of loadbalancing passed."); -- GitLab