From: heister Date: Wed, 29 Aug 2012 21:27:03 +0000 (+0000) Subject: return from ConstraintMatrix::close() in case of a cycle so we can test this. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f0086398a98bbe426b27ea7916b774f81918267;p=dealii-svn.git return from ConstraintMatrix::close() in case of a cycle so we can test this. git-svn-id: https://svn.dealii.org/trunk@26168 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/constraint_matrix.cc b/deal.II/source/lac/constraint_matrix.cc index dd99a2e504..abc67f6225 100644 --- a/deal.II/source/lac/constraint_matrix.cc +++ b/deal.II/source/lac/constraint_matrix.cc @@ -386,6 +386,8 @@ void ConstraintMatrix::close () // there are constraints or dofs in our system, we must have a cycle. ++n_replacements; Assert(n_replacements/2=largest_idx) + return; // this enables us to test for this Exception. #endif } else