From: Martin Kronbichler Date: Wed, 23 Feb 2022 16:03:37 +0000 (+0100) Subject: Fix run time error in step-75. X-Git-Tag: v9.4.0-rc1~447^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13441%2Fhead;p=dealii.git Fix run time error in step-75. --- diff --git a/examples/step-75/step-75.cc b/examples/step-75/step-75.cc index 744e5ab710..5487456221 100644 --- a/examples/step-75/step-75.cc +++ b/examples/step-75/step-75.cc @@ -427,6 +427,7 @@ namespace Step75 void LaplaceOperator::compute_inverse_diagonal( VectorType &diagonal) const { + this->matrix_free.initialize_dof_vector(diagonal); MatrixFreeTools::compute_diagonal(matrix_free, diagonal, &LaplaceOperator::do_cell_integral_local,