]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a dynamic cast in psT::copy_triangulation() 12347/head
authorPeter Munch <peterrmuench@gmail.com>
Sat, 29 May 2021 13:43:09 +0000 (15:43 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Sat, 29 May 2021 13:43:09 +0000 (15:43 +0200)
source/distributed/shared_tria.cc

index 29c9d11fdce7f5cd0fc77edcfb73f5e2d7084784..f8e020f09053869ecbcde11ef32b4dcd063fec54 100644 (file)
@@ -409,8 +409,8 @@ namespace parallel
     {
       Assert(
         (dynamic_cast<
-           const dealii::parallel::distributed::Triangulation<dim, spacedim> *>(
-           &other_tria) == nullptr),
+           const dealii::parallel::DistributedTriangulationBase<dim, spacedim>
+             *>(&other_tria) == nullptr),
         ExcMessage(
           "Cannot use this function on parallel::distributed::Triangulation."));
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.