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=5908859bef5bcc45644fdcc25b52497dc52b4df6;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