]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Release sparsity pattern once we don't need it any more.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Sep 2003 23:52:52 +0000 (23:52 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Sep 2003 23:52:52 +0000 (23:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@7969 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/sparse_direct.cc

index be91d8d161df790d6f646ca8b463dd9ff5a3e40b..df2e1b77619f699fbc4ff79da784d44e046b0d6a 100644 (file)
@@ -841,8 +841,11 @@ SparseDirectMA27::factorize (const SparseMatrix<double> &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;
 }
 
 

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.