]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix cast in communicate_active_fe_indices() 10704/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 14 Jul 2020 19:46:42 +0000 (21:46 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 14 Jul 2020 20:08:16 +0000 (22:08 +0200)
source/dofs/dof_handler.cc

index 02c6ef96b8c3e58f1f99b2eeb1522cfa07f618b4..dd0b53f1c6e65e712386d28f4ec37fbeae39ee6a 100644 (file)
@@ -1706,11 +1706,12 @@ namespace internal
                     .hp_cell_active_fe_indices[cell->level()][cell->index()] =
                     active_fe_indices[cell->active_cell_index()];
             }
-          else if (const dealii::parallel::distributed::Triangulation<dim,
-                                                                      spacedim>
-                     *tr = dynamic_cast<const dealii::parallel::distributed::
-                                          Triangulation<dim, spacedim> *>(
-                       &dof_handler.get_triangulation()))
+          else if (const dealii::parallel::
+                     DistributedTriangulationBase<dim, spacedim> *tr =
+                       dynamic_cast<
+                         const dealii::parallel::
+                           DistributedTriangulationBase<dim, spacedim> *>(
+                         &dof_handler.get_triangulation()))
             {
               // For completely distributed meshes, use the function that is
               // able to move data from locally owned cells on one processor to

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.