Skip to content

Commit

Permalink
MueLu: Update MueLu_AggregationPhase1Algorithm_def.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
csiefer2 authored Oct 17, 2023
1 parent dd7a398 commit 08f01c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ namespace MueLu {
if (aggSize < as<size_t>(maxNodesPerAggregate))
aggList[aggSize++] = neigh;

} else if(matchMLBehavior && aggStat[neigh] != IGNORED) {
} else if(!matchMLBehavior || aggStat[neigh] != IGNORED) {
// NOTE: ML checks against BOUNDARY here, but boundary nodes are flagged as IGNORED by
// the time we get to Phase 1, so we check IGNORED instead
numAggregatedNeighbours++;
Expand Down

0 comments on commit 08f01c6

Please sign in to comment.