From 11fefe0ad2c74751acca5e7997d39631cded3f19 Mon Sep 17 00:00:00 2001 From: heister Date: Tue, 12 Feb 2013 22:25:24 +0000 Subject: [PATCH] step-42: better compress call git-svn-id: https://svn.dealii.org/trunk@28349 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-42/step-42.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5