From 7282817556c9b59180432d542881c6b915f54188 Mon Sep 17 00:00:00 2001
From: Niklas Fehn <fehn@lnm.mw.tum.de>
Date: Thu, 9 Mar 2017 17:38:24 +0100
Subject: [PATCH] Set state = unusable before computing the LU factorization of
 LAPACKFullMatrix

---
 source/lac/lapack_full_matrix.cc | 2 ++
 1 file changed, 2 insertions(+)

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<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]);
-- 
2.39.5