From: Wolfgang 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-Tag: v8.0.0~205 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9290638af0de073e4ff422257e2f17ebb195e88d;p=dealii.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 {