From: Wolfgang Bangerth Date: Wed, 28 Aug 2024 02:48:23 +0000 (-0600) Subject: Close an AffineConstraints object before doing anything with it. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=173d915273798308997985a7c89ccf7df85f0c78;p=dealii.git Close an AffineConstraints object before doing anything with it. --- 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 =