]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Correctly initialize AffineConstraints object in test.
authorMarc Fehling <mafehling.git@gmail.com>
Wed, 26 Jun 2024 11:41:12 +0000 (13:41 +0200)
committerMarc Fehling <mafehling.git@gmail.com>
Mon, 1 Jul 2024 14:52:14 +0000 (16:52 +0200)
tests/lac/constraints_make_consistent_in_parallel_01.cc

index f8cf12adb25ce7c649aa0441e5e7aff45c07c9bd..c11bed6ac5fe954363db566d7f36772a23ad9ebd 100644 (file)
@@ -61,7 +61,8 @@ void
 test(const DoFHandler<dim, spacedim> &dof_handler,
      const IndexSet                  &locally_relevant_dofs)
 {
-  AffineConstraints<double> constraints;
+  AffineConstraints<double> constraints(dof_handler.locally_owned_dofs(),
+                                        locally_relevant_dofs);
 
   std::vector<types::global_dof_index> dof_indices(
     dof_handler.get_fe().n_dofs_per_face());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.