]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Set state = unusable before computing the LU factorization of LAPACKFullMatrix 4055/head
authorNiklas Fehn <fehn@lnm.mw.tum.de>
Thu, 9 Mar 2017 16:38:24 +0000 (17:38 +0100)
committerNiklas Fehn <fehn@lnm.mw.tum.de>
Thu, 9 Mar 2017 16:38:24 +0000 (17:38 +0100)
source/lac/lapack_full_matrix.cc

index ae80e56929aff4605bae6463af906657e3a9f0a6..ad272cc9aa966265444be84dd14dc126a72b7ab9 100644 (file)
@@ -496,6 +496,8 @@ void
 LAPACKFullMatrix<number>::compute_lu_factorization()
 {
   Assert(state == matrix, ExcState(state));
+  state = LAPACKSupport::unusable;
+
   const int mm = this->n_rows();
   const int nn = this->n_cols();
   number *values = const_cast<number *> (&this->values[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.