From 9290638af0de073e4ff422257e2f17ebb195e88d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 2 Jul 2013 16:51:51 +0000 Subject: [PATCH] Fix typo not caught because I committed MPI code but didn't compile for MPI :-( git-svn-id: https://svn.dealii.org/trunk@29913 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/distributed/tria.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deal.II/source/distributed/tria.cc b/deal.II/source/distributed/tria.cc index bc4f5a88af..cea77e8322 100644 --- a/deal.II/source/distributed/tria.cc +++ b/deal.II/source/distributed/tria.cc @@ -3268,7 +3268,7 @@ namespace parallel if (const dealii::parallel::distributed::Triangulation * old_tria_x = dynamic_cast *>(&old_tria)) { - Assert (!old_tria_x->refinement_in_progress), + Assert (!old_tria_x->refinement_in_progress, ExcMessage ("Parallel distributed triangulations can only " "be copied, if no refinement is in progress!")); @@ -3278,6 +3278,8 @@ namespace parallel p4est_tree_to_coarse_cell_permutation = old_tria_x->p4est_tree_to_coarse_cell_permutation; attached_data_size = old_tria_x->attached_data_size; n_attached_datas = old_tria_x->n_attached_datas; + + settings = old_tria_x->settings; } else { -- 2.39.5