Skip to content

Commit

Permalink
#1395: greedylb: fix bug in scatter (recs must be >= 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Aug 23, 2021
1 parent 99f0dd3 commit bcd33e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/balance/greedylb/greedylb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ void GreedyLB::transferObjs(std::vector<GreedyProc>&& in_load) {
#define BROADCAST 1

#if SCATTER
std::size_t max_recs = 0, max_bytes = 0;
std::size_t max_recs = 1, max_bytes = 0;
#endif
std::vector<GreedyProc> load(std::move(in_load));
std::vector<std::vector<GreedyLBTypes::ObjIDType>> node_transfer(load.size());
Expand Down

0 comments on commit bcd33e7

Please sign in to comment.