From 49852e2cda7494a2da418a53d60633b606420dbb Mon Sep 17 00:00:00 2001 From: heister Date: Mon, 4 Nov 2013 20:18:59 +0000 Subject: [PATCH] remove 2x compress() in step-42 git-svn-id: https://svn.dealii.org/trunk@31539 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-42/step-42.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index e9b743a589..795047c529 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -1624,8 +1624,6 @@ namespace Step42 constraints_hanging_nodes.set_zero(distributed_solution); constraints_hanging_nodes.set_zero(newton_rhs); - distributed_solution.compress(VectorOperation::insert); - newton_rhs.compress(VectorOperation::insert); TrilinosWrappers::PreconditionAMG preconditioner; { @@ -1796,7 +1794,6 @@ namespace Step42 const double alpha = std::pow(0.5, static_cast(i)); tmp_vector = old_solution; tmp_vector.sadd(1 - alpha, alpha, distributed_solution); - tmp_vector.compress(VectorOperation::add); TimerOutput::Scope t(computing_timer, "Residual and lambda"); -- 2.39.5