Skip to content

Commit

Permalink
#2130: Fix incorrect count_ when there is no metadata for phases
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed May 9, 2023
1 parent f2f4884 commit 614a1d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vt/vrt/collection/balance/lb_data_holder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ LBDataHolder::LBDataHolder(nlohmann::json const& j)
}
}

if (!count_) {
count_ = node_data_.size();
}

// @todo: implement subphase communication de-serialization, no use for it
// right now, so it will be ignored
}
Expand Down

0 comments on commit 614a1d2

Please sign in to comment.