Skip to content
Snippets Groups Projects
Commit 722c23f2 authored by Rene Halver's avatar Rene Halver
Browse files

Fix switch

parent e674f666
No related branches found
No related tags found
No related merge requests found
Pipeline #262405 passed
......@@ -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.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment