From: heister Date: Tue, 30 Aug 2011 14:43:11 +0000 (+0000) Subject: fixed ConstraintMatrix::distribute() when a CPU has no own DoFs X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70d3ab5e078236dca316548b675e0c932023b87f;p=dealii-svn.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 (); }