From 1b39743af98d82edbda57a6c5f150dc794fdb9d0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 3 Jul 2023 20:26:39 -0600 Subject: [PATCH] Remove a funny exit path in AffineConstraints::close(). --- include/deal.II/lac/affine_constraints.templates.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/deal.II/lac/affine_constraints.templates.h b/include/deal.II/lac/affine_constraints.templates.h index 144363464a..e88b461fca 100644 --- a/include/deal.II/lac/affine_constraints.templates.h +++ b/include/deal.II/lac/affine_constraints.templates.h @@ -772,8 +772,6 @@ AffineConstraints::close() ++n_replacements; Assert(n_replacements / 2 < largest_idx, ExcMessage("Cycle in constraints detected!")); - if (n_replacements / 2 >= largest_idx) - return; // this enables us to test for this Exception. #endif } else -- 2.39.5