From e82bbbac11f6ca39c11ea84830f1e62c0fde341d Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Tue, 5 Oct 2021 09:13:27 +0200 Subject: [PATCH] Add missing compress() to VectorTools::create_right_hand_side() --- include/deal.II/numerics/vector_tools_rhs.templates.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/deal.II/numerics/vector_tools_rhs.templates.h b/include/deal.II/numerics/vector_tools_rhs.templates.h index d18462093f..471cfa1f2f 100644 --- a/include/deal.II/numerics/vector_tools_rhs.templates.h +++ b/include/deal.II/numerics/vector_tools_rhs.templates.h @@ -457,6 +457,8 @@ namespace VectorTools rhs_vector); } } + + rhs_vector.compress(VectorOperation::values::add); } @@ -617,6 +619,8 @@ namespace VectorTools rhs_vector); } } + + rhs_vector.compress(VectorOperation::values::add); } -- 2.39.5