]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
purge two warnings caused by an old compress function parameter
authorfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Feb 2013 01:18:18 +0000 (01:18 +0000)
committerfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Feb 2013 01:18:18 +0000 (01:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@28273 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/step-42.cc

index 9deab8a19b84b9824b220ad41a9fe58969285a1b..8ecba5a16a968b4372fd1e469b249f4464b9b035 100644 (file)
@@ -689,7 +689,7 @@ namespace Step42
         };
 
     system_matrix_newton.compress ();
-    system_rhs_newton.compress (Add);
+    system_rhs_newton.compress ();
   }
 
   template <int dim>
@@ -922,7 +922,7 @@ namespace Step42
                       active_set_locally_owned.add_index (index_z);
                   }
               }
-    distributed_solution.compress(Insert);
+    distributed_solution.compress();
 
     unsigned int sum_contact_constraints = Utilities::MPI::sum(active_set_locally_owned.n_elements (),
                                                                mpi_communicator);

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.