From: bangerth Date: Tue, 2 Jul 2013 16:51:51 +0000 (+0000) Subject: Fix typo not caught because I committed MPI code but didn't compile X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c805fcf44b9695c3ce534afdeae14a9f1c48ad5;p=dealii-svn.git 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 --- 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 {