From e027464ca4d775e0e243cc1c1191a95ee523c09a Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 5 Oct 2017 16:32:48 -0400 Subject: [PATCH] Add a finite-ness assertion. --- include/deal.II/lac/constraint_matrix.templates.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/deal.II/lac/constraint_matrix.templates.h b/include/deal.II/lac/constraint_matrix.templates.h index c0cb2e2821..6c397f2e24 100644 --- a/include/deal.II/lac/constraint_matrix.templates.h +++ b/include/deal.II/lac/constraint_matrix.templates.h @@ -2332,6 +2332,7 @@ ConstraintMatrix::distribute_local_to_global ( local_vector, local_dof_indices, local_matrix); + AssertIsFinite(val); if (val != number ()) { -- 2.39.5