]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a funny exit path in AffineConstraints::close(). 15639/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Jul 2023 02:26:39 +0000 (20:26 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Jul 2023 02:26:39 +0000 (20:26 -0600)
include/deal.II/lac/affine_constraints.templates.h

index 144363464a1575d3920e5cf3ffdd1fcb926f2b28..e88b461fca354f8450f62daca69310b63a696208 100644 (file)
@@ -772,8 +772,6 @@ AffineConstraints<number>::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

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.