From: bangerth Date: Wed, 13 Nov 2013 12:31:26 +0000 (+0000) Subject: Add a note. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1923ae8c61139d167e098606714845aadababc6c;p=dealii-svn.git Add a note. git-svn-id: https://svn.dealii.org/trunk@31637 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/block_sparse_matrix.h b/deal.II/include/deal.II/lac/block_sparse_matrix.h index e5f91ad22b..75d3c5811e 100644 --- a/deal.II/include/deal.II/lac/block_sparse_matrix.h +++ b/deal.II/include/deal.II/lac/block_sparse_matrix.h @@ -186,8 +186,11 @@ public: * sparsity patterns of the * parameter. * - * The elements of the matrix are - * set to zero by this function. + * You have to make sure that the lifetime of the sparsity structure is at + * least as long as that of this matrix or as long as reinit(const + * SparsityPattern &) is not called with a new sparsity structure. + * + * The elements of the matrix are set to zero by this function. */ virtual void reinit (const BlockSparsityPattern &sparsity); //@}