From c794bd3eacabc85ad66a415dce32a30decc542d7 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Sat, 29 May 2021 15:43:09 +0200 Subject: [PATCH] Fix a dynamic cast in psT::copy_triangulation() --- source/distributed/shared_tria.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/distributed/shared_tria.cc b/source/distributed/shared_tria.cc index 29c9d11fdc..f8e020f090 100644 --- a/source/distributed/shared_tria.cc +++ b/source/distributed/shared_tria.cc @@ -409,8 +409,8 @@ namespace parallel { Assert( (dynamic_cast< - const dealii::parallel::distributed::Triangulation *>( - &other_tria) == nullptr), + const dealii::parallel::DistributedTriangulationBase + *>(&other_tria) == nullptr), ExcMessage( "Cannot use this function on parallel::distributed::Triangulation.")); -- 2.39.5