Skip to content

Commit

Permalink
fix mpi precon for reg grids with 1 pr
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-tierny committed Aug 18, 2023
1 parent e7817b2 commit a27ca72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ int ttk::RegularGridTriangulation::preconditionExchangeGhostVertices() {
if(this->hasPreconditionedExchangeGhostVertices_) {
return 0;
}
if(!ttk::hasInitializedMPI()) {
if((!ttk::hasInitializedMPI()) || (!ttk::isRunningWithMPI())) {
return -1;
}

Expand Down

0 comments on commit a27ca72

Please sign in to comment.