From: Timo Heister Date: Mon, 27 May 2013 07:55:52 +0000 (+0000) Subject: fix deadlock in ConstraintMatrix X-Git-Tag: v8.0.0~406 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75e339caa2b5d46686f3867858bccecaf9786022;p=dealii.git fix deadlock in ConstraintMatrix git-svn-id: https://svn.dealii.org/trunk@29631 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/constraint_matrix.templates.h b/deal.II/include/deal.II/lac/constraint_matrix.templates.h index 037b2f9535..5cbed5d29f 100644 --- a/deal.II/include/deal.II/lac/constraint_matrix.templates.h +++ b/deal.II/include/deal.II/lac/constraint_matrix.templates.h @@ -987,9 +987,7 @@ ConstraintMatrix::distribute (VectorType &vec) const // if the vector type supports parallel storage and if the // vector actually does it, we need to be a bit more // careful about how we do things - if ((vec.supports_distributed_data == true) - && - (vec.locally_owned_elements() != complete_index_set(vec.size()))) + if (vec.supports_distributed_data == true) { const IndexSet vec_owned_elements = vec.locally_owned_elements();