]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a finite-ness assertion. 5200/head
authorDavid Wells <wellsd2@rpi.edu>
Thu, 5 Oct 2017 20:32:48 +0000 (16:32 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 6 Oct 2017 04:07:26 +0000 (00:07 -0400)
include/deal.II/lac/constraint_matrix.templates.h

index c0cb2e282195909780282d90597514750e4dc805..6c397f2e245ef8bb87d124e664eb2edd051a3a74 100644 (file)
@@ -2332,6 +2332,7 @@ ConstraintMatrix::distribute_local_to_global (
                                                    local_vector,
                                                    local_dof_indices,
                                                    local_matrix);
+          AssertIsFinite(val);
 
           if (val != number ())
             {

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.