From e3dc646280a5c138e2d8313738767117e9ffe5b0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 22 Aug 2023 20:07:48 -0600 Subject: [PATCH] Use a delegating constructor. --- include/deal.II/lac/affine_constraints.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/include/deal.II/lac/affine_constraints.h b/include/deal.II/lac/affine_constraints.h index 8c1036bcb9..745130c139 100644 --- a/include/deal.II/lac/affine_constraints.h +++ b/include/deal.II/lac/affine_constraints.h @@ -2038,15 +2038,8 @@ private: template inline AffineConstraints::AffineConstraints() - : lines() - , local_lines() - , sorted(false) -{ - // make sure the IndexSet is compressed. Otherwise this can lead to crashes - // that are hard to find (only happen in release mode). - // see tests/mpi/affine_constraints_crash_01 - local_lines.compress(); -} + : AffineConstraints(IndexSet()) +{} -- 2.39.5