From: Matthias Maier Date: Thu, 8 Sep 2016 16:30:33 +0000 (-0500) Subject: Bugfix: Fix a compilation error introduced by #3061 X-Git-Tag: v8.5.0-rc1~694^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3083%2Fhead;p=dealii.git Bugfix: Fix a compilation error introduced by #3061 --- diff --git a/source/distributed/tria_base.cc b/source/distributed/tria_base.cc index 8b632b084a..6ab0594fd3 100644 --- a/source/distributed/tria_base.cc +++ b/source/distributed/tria_base.cc @@ -60,8 +60,9 @@ namespace parallel Triangulation::copy_triangulation (const dealii::Triangulation &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::copy_triangulation (other_tria); if (const dealii::parallel::Triangulation * @@ -70,6 +71,7 @@ namespace parallel MPI_Comm_free (&this->mpi_communicator); mpi_communicator = Utilities::MPI::duplicate_communicator (other_tria_x->get_communicator ()); } +#endif }