From: Peter Munch Date: Sat, 29 May 2021 13:43:09 +0000 (+0200) Subject: Fix a dynamic cast in psT::copy_triangulation() X-Git-Tag: v9.4.0-rc1~1315^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c794bd3eacabc85ad66a415dce32a30decc542d7;p=dealii.git Fix a dynamic cast in psT::copy_triangulation() --- 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."));