From: Timo Heister Date: Tue, 30 Aug 2011 14:43:11 +0000 (+0000) Subject: fixed ConstraintMatrix::distribute() when a CPU has no own DoFs X-Git-Tag: v8.0.0~3554 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e2feb988713dabe1bd180c9f7de307e4ff9a499;p=dealii.git fixed ConstraintMatrix::distribute() when a CPU has no own DoFs git-svn-id: https://svn.dealii.org/trunk@24214 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/constraint_matrix.cc b/deal.II/source/lac/constraint_matrix.cc index 5f9eb71580..cd6872efe3 100644 --- a/deal.II/source/lac/constraint_matrix.cc +++ b/deal.II/source/lac/constraint_matrix.cc @@ -2092,9 +2092,6 @@ ConstraintMatrix::distribute (PETScWrappers::MPI::Vector &vec) const vec(it->line) = new_value; } - // force every processor to write something - vec(local_range.first) = vec(local_range.first); - vec.compress (); }