]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a note.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Nov 2013 12:31:26 +0000 (12:31 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Nov 2013 12:31:26 +0000 (12:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@31637 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/block_sparse_matrix.h

index e5f91ad22bca386f38d681220828eee25ae6765e..75d3c5811e2d4e9d349c7ebc1e05e60a09f13d77 100644 (file)
@@ -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);
 //@}

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.