Skip to content

Commit

Permalink
#2201: temperedlb: fixed index of phase -2
Browse files Browse the repository at this point in the history
  • Loading branch information
ppebay committed Dec 19, 2023
1 parent c685575 commit 2f2e9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/balance/temperedlb/temperedlb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2244,7 +2244,7 @@ void TemperedLB::swapClusters() {
// computation to see if a cluster is blocking progress.
if (auto const len = max_load_over_iters_.size(); len > 2) {
double const i1 = max_load_over_iters_[len-1];
double const i2 = max_load_over_iters_[len-1];
double const i2 = max_load_over_iters_[len-2];

vt_debug_print(
terse, temperedlb,
Expand Down

0 comments on commit 2f2e9f1

Please sign in to comment.