Skip to content

Commit

Permalink
#1941: make types commensurable
Browse files Browse the repository at this point in the history
  • Loading branch information
stmcgovern committed Sep 20, 2022
1 parent ddd37f8 commit 9e6187a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/termination/termination.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ inline EpochType TerminationDetector::popEpoch(EpochType const& epoch) {
auto const& non_zero = epoch_stack_.size() > 0;
vtAssertExprInfo(
non_zero and (epoch_stack_.top() == epoch.get() or epoch == no_epoch),
epoch, non_zero, non_zero ? epoch_stack_.top() : no_epoch
epoch, non_zero, non_zero ? EpochType{epoch_stack_.top()} : no_epoch
);
if (epoch == no_epoch) {
return non_zero ? epoch_stack_.pop(),EpochType{epoch_stack_.top()} : no_epoch;
Expand Down

0 comments on commit 9e6187a

Please sign in to comment.