]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add missing const MPI_Comm & 11180/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 13 Nov 2020 19:10:58 +0000 (20:10 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 13 Nov 2020 19:10:58 +0000 (20:10 +0100)
source/grid/tria_description.cc
source/grid/tria_description.inst.in

index e9aa760f8b5c31dc4bfae6d4b909f5649d455c26..417f0116944a90d64ec3afdfc3b8d3442e7ea6c9 100644 (file)
@@ -403,7 +403,7 @@ namespace TriangulationDescription
       const std::function<void(dealii::Triangulation<dim, spacedim> &)>
         &                                            serial_grid_generator,
       const std::function<void(dealii::Triangulation<dim, spacedim> &,
-                               const MPI_Comm,
+                               const MPI_Comm &,
                                const unsigned int)> &serial_grid_partitioner,
       const MPI_Comm &                               comm,
       const int                                      group_size,
index 29af0fa2643c30cae2a59207dc5b61ba90b220d7..9ca20f01570eb265897f6bc3315444d2c4f210a8 100644 (file)
@@ -37,7 +37,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
               &)> &               serial_grid_generator,
           const std::function<void(
             dealii::Triangulation<deal_II_dimension, deal_II_space_dimension> &,
-            const MPI_Comm,
+            const MPI_Comm &,
             const unsigned int)> &serial_grid_partitioner,
           const MPI_Comm &        comm,
           const int               group_size,

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.