]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix PreconditionMG::get_mpi_communicator() 12167/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 10 May 2021 11:24:13 +0000 (13:24 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 10 May 2021 11:24:13 +0000 (13:24 +0200)
include/deal.II/multigrid/multigrid.h

index f62db72383a8b3594a9525119adad1ec35123a56..d2775abd2a7df2c642fe6e5fd783614623fd4641 100644 (file)
@@ -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<dim, VectorType, TRANSFER>::locally_owned_domain_indices(
 
 
 template <int dim, typename VectorType, class TRANSFER>
-const MPI_Comm &
+MPI_Comm
 PreconditionMG<dim, VectorType, TRANSFER>::get_mpi_communicator() const
 {
   // currently parallel GMG works with parallel triangulations only,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.