]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Clarify that the 'else' case corresponds to 0.0
authorMartin Kronbichler <martin.kronbichler@rub.de>
Thu, 20 Mar 2025 13:29:15 +0000 (14:29 +0100)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Thu, 27 Mar 2025 07:48:49 +0000 (08:48 +0100)
include/deal.II/lac/sparse_matrix_tools.h

index a1c93cd126edaede605beb44df8e810429591cb5..f722d604d84db364d5440fa7ce2a698071e64d09 100644 (file)
@@ -516,6 +516,8 @@ namespace SparseMatrixTools
                             accessor(&system_matrix, ind);
                           cell_matrix(i, j) = accessor.value();
                         }
+                      else
+                        cell_matrix(i, j) = 0.0;
                     }
                   else
                     cell_matrix(i, j) =

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.