From: Peter Munch Date: Tue, 14 Jul 2020 19:46:42 +0000 (+0200) Subject: Fix cast in communicate_active_fe_indices() X-Git-Tag: v9.3.0-rc1~1293^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10704%2Fhead;p=dealii.git Fix cast in communicate_active_fe_indices() --- diff --git a/source/dofs/dof_handler.cc b/source/dofs/dof_handler.cc index 02c6ef96b8..dd0b53f1c6 100644 --- a/source/dofs/dof_handler.cc +++ b/source/dofs/dof_handler.cc @@ -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 - *tr = dynamic_cast *>( - &dof_handler.get_triangulation())) + else if (const dealii::parallel:: + DistributedTriangulationBase *tr = + dynamic_cast< + const dealii::parallel:: + DistributedTriangulationBase *>( + &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