From 173d915273798308997985a7c89ccf7df85f0c78 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 27 Aug 2024 20:48:23 -0600 Subject: [PATCH] Close an AffineConstraints object before doing anything with it. --- include/deal.II/lac/affine_constraints.templates.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/deal.II/lac/affine_constraints.templates.h b/include/deal.II/lac/affine_constraints.templates.h index 0946291fee..16a9f1b689 100644 --- a/include/deal.II/lac/affine_constraints.templates.h +++ b/include/deal.II/lac/affine_constraints.templates.h @@ -660,6 +660,7 @@ AffineConstraints::make_consistent_in_parallel( this->reinit(locally_owned_dofs, locally_stored_constraints); for (const auto &line : imported_constraints) this->add_constraint(line.index, line.entries, line.inhomogeneity); + this->close(); // 4) Stop loop if converged. const bool constraints_converged = -- 2.39.5