]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Fix a compilation error introduced by #3061 3083/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 8 Sep 2016 16:30:33 +0000 (11:30 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 8 Sep 2016 16:30:33 +0000 (11:30 -0500)
source/distributed/tria_base.cc

index 8b632b084a84b9d49d52bcc3fa24194bf84fa14f..6ab0594fd394ebd363972cb234a29a136bc58512 100644 (file)
@@ -60,8 +60,9 @@ namespace parallel
   Triangulation<dim,spacedim>::copy_triangulation (const dealii::Triangulation<dim, spacedim> &other_tria)
   {
 #ifndef DEAL_II_WITH_MPI
-    Assert(false, ExcNotImplemented());
-#endif
+    Assert(false, ExcMessage("You compiled deal.II without MPI support, for "
+                             "which parallel::Triangulation is not available."));
+#else
     dealii::Triangulation<dim,spacedim>::copy_triangulation (other_tria);
 
     if (const dealii::parallel::Triangulation<dim,spacedim> *
@@ -70,6 +71,7 @@ namespace parallel
         MPI_Comm_free (&this->mpi_communicator);
         mpi_communicator = Utilities::MPI::duplicate_communicator (other_tria_x->get_communicator ());
       }
+#endif
   }
 
 

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.