From 5908859bef5bcc45644fdcc25b52497dc52b4df6 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Tue, 14 Jul 2020 21:46:42 +0200 Subject: [PATCH] Fix cast in communicate_active_fe_indices() --- source/dofs/dof_handler.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 -- 2.39.5