From 73265064dda342de674ce7fe5714624fc921d66a Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Wed, 26 Jun 2024 13:41:12 +0200 Subject: [PATCH] Correctly initialize AffineConstraints object in test. --- tests/lac/constraints_make_consistent_in_parallel_01.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/lac/constraints_make_consistent_in_parallel_01.cc b/tests/lac/constraints_make_consistent_in_parallel_01.cc index f8cf12adb2..c11bed6ac5 100644 --- a/tests/lac/constraints_make_consistent_in_parallel_01.cc +++ b/tests/lac/constraints_make_consistent_in_parallel_01.cc @@ -61,7 +61,8 @@ void test(const DoFHandler &dof_handler, const IndexSet &locally_relevant_dofs) { - AffineConstraints constraints; + AffineConstraints constraints(dof_handler.locally_owned_dofs(), + locally_relevant_dofs); std::vector dof_indices( dof_handler.get_fe().n_dofs_per_face()); -- 2.39.5