]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix typo not caught because I committed MPI code but didn't compile
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 2 Jul 2013 16:51:51 +0000 (16:51 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 2 Jul 2013 16:51:51 +0000 (16:51 +0000)
for MPI :-(

git-svn-id: https://svn.dealii.org/trunk@29913 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/distributed/tria.cc

index bc4f5a88afdc60ab064add076f0a50d5ec1560d2..cea77e83227ad110b9a2d95ce097ac965d786fb2 100644 (file)
@@ -3268,7 +3268,7 @@ namespace parallel
       if (const dealii::parallel::distributed::Triangulation<dim,spacedim> *
          old_tria_x = dynamic_cast<const dealii::parallel::distributed::Triangulation<dim,spacedim> *>(&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
         {

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.