Skip to content

Commit

Permalink
Merge pull request #1082 from DARMA-tasking/1054-comparison
Browse files Browse the repository at this point in the history
1054 Fix inadvertently tautological comparison
  • Loading branch information
lifflander authored Sep 24, 2020
2 parents 04bda28 + 22bacbb commit fbe8ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/balance/node_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void NodeStats::startIterCleanup(PhaseType phase, int look_back) {
}
node_data_[phase] = std::move(new_data);

if (phase - look_back >= 0) {
if (phase >= look_back) {
node_data_.erase(phase - look_back);
node_subphase_data_.erase(phase - look_back);
node_comm_.erase(phase - look_back);
Expand Down

0 comments on commit fbe8ced

Please sign in to comment.