From: Marc Fehling Date: Wed, 26 Jun 2024 11:41:12 +0000 (+0200) Subject: Correctly initialize AffineConstraints object in test. X-Git-Tag: v9.6.0-rc1~148^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73265064dda342de674ce7fe5714624fc921d66a;p=dealii.git Correctly initialize AffineConstraints object in test. --- 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());