Skip to content

Commit

Permalink
Merge Pull Request #5969 from lucbv/Trilinos/MueLu_fix_#5962
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: MueLu: tentative fix for issue #5962
PR Author: lucbv
  • Loading branch information
trilinos-autotester authored Sep 24, 2019
2 parents c22a355 + 73d7334 commit bdbb961
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace MueLu {
// (aggStat[neigh] == AGGREGATED)
if (graph.isLocalNeighborVertex(neigh) &&
aggStat(neigh) == AGGREGATED)
Kokkos::atomic_add(&aggWeight(vertex2AggId(neigh, 0), 0),
Kokkos::atomic_add(&aggWeight(vertex2AggId(neigh, 0)),
connectWeight(neigh));
}

Expand Down Expand Up @@ -169,7 +169,7 @@ namespace MueLu {
}
}
if (bestScore >= 0) {
aggStat(i, 0) = AGGREGATED;
aggStat(i) = AGGREGATED;
vertex2AggId(i, 0) = bestAggId;
procWinner(i, 0) = myRank;

Expand Down Expand Up @@ -244,7 +244,7 @@ namespace MueLu {
// (aggStat[neigh] == AGGREGATED)
if (graph.isLocalNeighborVertex(neigh) &&
aggStat(neigh) == AGGREGATED)
Kokkos::atomic_add(&aggWeight(vertex2AggId(neigh, 0), 0),
Kokkos::atomic_add(&aggWeight(vertex2AggId(neigh, 0)),
connectWeight(neigh));
}
});
Expand Down

0 comments on commit bdbb961

Please sign in to comment.