From: Martin Kronbichler Date: Thu, 20 Mar 2025 13:29:15 +0000 (+0100) Subject: Clarify that the 'else' case corresponds to 0.0 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd876ab403a85cca95f4492d95569537b35f41a3;p=dealii.git Clarify that the 'else' case corresponds to 0.0 --- diff --git a/include/deal.II/lac/sparse_matrix_tools.h b/include/deal.II/lac/sparse_matrix_tools.h index a1c93cd126..f722d604d8 100644 --- a/include/deal.II/lac/sparse_matrix_tools.h +++ b/include/deal.II/lac/sparse_matrix_tools.h @@ -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) =