From dc62d4853409d3f91b33f5e1b5520cc76f8c5465 Mon Sep 17 00:00:00 2001 From: heister Date: Mon, 27 May 2013 07:55:52 +0000 Subject: [PATCH] fix deadlock in ConstraintMatrix git-svn-id: https://svn.dealii.org/trunk@29631 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/constraint_matrix.templates.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(); -- 2.39.5