Skip to content

Commit

Permalink
#1941: modify termination.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
stmcgovern committed Sep 20, 2022
1 parent 684526d commit d61174f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/vt/termination/termination.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ namespace vt { namespace term {

TerminationDetector::TerminationDetector()
: collective::tree::Tree(collective::tree::tree_cons_tag_t),
any_epoch_state_(any_epoch_sentinel, false, true, getNumChildren()),
hang_(no_epoch, true, false, getNumChildren())
any_epoch_state_(any_epoch_sentinel, false, true, getNumChildren()),
hang_(no_epoch, true, false, getNumChildren()),
this_node_(theContext()->getNode())
{ }

/*static*/ void TerminationDetector::makeRootedHandler(TermMsg* msg) {
Expand Down Expand Up @@ -112,7 +113,7 @@ void TerminationDetector::setLocalTerminated(
any_epoch_state_.notifyLocalTerminated(local_terminated);

if (local_terminated && !no_propagate) {
theTerm()->maybePropagate();
maybePropagate();
}
}

Expand Down

0 comments on commit d61174f

Please sign in to comment.