From: jodlbauer Date: Wed, 19 Dec 2018 10:24:29 +0000 (+0100) Subject: set to zero if not reinited X-Git-Tag: v9.1.0-rc1~480^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3deddc5d74f3d31d8f0ffcf6d050b6b3ab64779;p=dealii.git set to zero if not reinited --- diff --git a/include/deal.II/multigrid/mg_transfer_matrix_free.h b/include/deal.II/multigrid/mg_transfer_matrix_free.h index d45ac926c5..2e17af047b 100644 --- a/include/deal.II/multigrid/mg_transfer_matrix_free.h +++ b/include/deal.II/multigrid/mg_transfer_matrix_free.h @@ -653,6 +653,8 @@ MGTransferBlockMatrixFree::copy_to_mg( } dst[level].collect_sizes(); } + else + dst[level] = 0; } }