From: Peter Munch Date: Mon, 10 May 2021 11:24:13 +0000 (+0200) Subject: Fix PreconditionMG::get_mpi_communicator() X-Git-Tag: v9.3.0-rc1~111^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94b526fccde9438ebcd28251f044771a15003c56;p=dealii.git Fix PreconditionMG::get_mpi_communicator() --- diff --git a/include/deal.II/multigrid/multigrid.h b/include/deal.II/multigrid/multigrid.h index f62db72383..d2775abd2a 100644 --- a/include/deal.II/multigrid/multigrid.h +++ b/include/deal.II/multigrid/multigrid.h @@ -546,7 +546,7 @@ public: /** * Return the MPI communicator object in use with this preconditioner. */ - const MPI_Comm & + MPI_Comm get_mpi_communicator() const; /** @@ -863,7 +863,7 @@ PreconditionMG::locally_owned_domain_indices( template -const MPI_Comm & +MPI_Comm PreconditionMG::get_mpi_communicator() const { // currently parallel GMG works with parallel triangulations only,