Skip to content

Commit

Permalink
#2264: simplify if logic
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs authored and cwschilly committed Sep 20, 2024
1 parent 7e21995 commit 11239c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/termination/termination.cc
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ std::shared_ptr<TerminationDetector::EpochGraph> TerminationDetector::makeGraph(
for (auto const& elm : epoch_state_) {
auto const ep = elm.first;
bool const rooted = epoch::EpochManip::isRooted(ep);
if (not rooted or (rooted and epoch::EpochManip::node(ep) == this_node_)) {
if (not rooted or (epoch::EpochManip::node(ep) == this_node_)) {
if (not isEpochTerminated(elm.first)) {
auto label = elm.second.getLabel();
live_epochs[ep] = std::make_shared<EpochGraph>(ep, label);
Expand Down

0 comments on commit 11239c5

Please sign in to comment.