From: Niklas Fehn Date: Thu, 9 Mar 2017 16:38:24 +0000 (+0100) Subject: Set state = unusable before computing the LU factorization of LAPACKFullMatrix X-Git-Tag: v8.5.0-rc1~45^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7282817556c9b59180432d542881c6b915f54188;p=dealii.git Set state = unusable before computing the LU factorization of LAPACKFullMatrix --- diff --git a/source/lac/lapack_full_matrix.cc b/source/lac/lapack_full_matrix.cc index ae80e56929..ad272cc9aa 100644 --- a/source/lac/lapack_full_matrix.cc +++ b/source/lac/lapack_full_matrix.cc @@ -496,6 +496,8 @@ void LAPACKFullMatrix::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 (&this->values[0]);