From: Peter Munch Date: Tue, 5 Oct 2021 07:13:27 +0000 (+0200) Subject: Add missing compress() to VectorTools::create_right_hand_side() X-Git-Tag: v9.4.0-rc1~963^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e82bbbac11f6ca39c11ea84830f1e62c0fde341d;p=dealii.git Add missing compress() to VectorTools::create_right_hand_side() --- 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); }