From: Wolfgang Bangerth Date: Tue, 9 Sep 2003 23:52:52 +0000 (+0000) Subject: Release sparsity pattern once we don't need it any more. X-Git-Tag: v8.0.0~16241 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3ea0b704ac08a229443c9e2905b8139990c75ba;p=dealii.git Release sparsity pattern once we don't need it any more. git-svn-id: https://svn.dealii.org/trunk@7969 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/sparse_direct.cc b/deal.II/lac/source/sparse_direct.cc index be91d8d161..df2e1b7761 100644 --- a/deal.II/lac/source/sparse_direct.cc +++ b/deal.II/lac/source/sparse_direct.cc @@ -841,8 +841,11 @@ SparseDirectMA27::factorize (const SparseMatrix &matrix) AssertThrow (call_succeeded, ExcMA27BFailed(IFLAG)); // note that we have been here - // already + // already and release the sparsity + // pattern object, since we won't + // need it any more factorize_called = true; + sparsity_pattern = 0; }