]> https://gitweb.dealii.org/ - dealii.git/commitdiff
purge two warnings caused by an old compress function parameter
authorJoerg Frohne <frohne@mathematik.uni-siegen.de>
Fri, 8 Feb 2013 01:18:18 +0000 (01:18 +0000)
committerJoerg Frohne <frohne@mathematik.uni-siegen.de>
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.