From: heister Date: Tue, 12 Feb 2013 22:25:24 +0000 (+0000) Subject: step-42: better compress call X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11fefe0ad2c74751acca5e7997d39631cded3f19;p=dealii-svn.git step-42: better compress call git-svn-id: https://svn.dealii.org/trunk@28349 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index e3a5a34735..ddfa4ab464 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -1224,8 +1224,8 @@ namespace Step42 constraints_hanging_nodes.set_zero (distributed_solution); constraints_hanging_nodes.set_zero (system_rhs_newton); - distributed_solution.compress (); - system_rhs_newton.compress (); + distributed_solution.compress(VectorOperation::insert); + system_rhs_newton.compress(VectorOperation::insert); MPI_Barrier (mpi_communicator); t.restart();