diff options
author | 2008-10-20 10:43:11 +0000 | |
---|---|---|
committer | 2008-10-20 10:43:11 +0000 | |
commit | fa27cd1ed0a387a52079e63444137feb2aeab66f (patch) | |
tree | 95af6901864c5bbaffb884fc85c8e028e7f9ded5 /Eigen/src/Sparse/CholmodSupport.h | |
parent | f44316e5f8e949b6d66dd4bc3a6ae84eeb866652 (diff) |
* add cmake files to find (optional) supported libraries
* add unit tests for sparse cholesky
Diffstat (limited to 'Eigen/src/Sparse/CholmodSupport.h')
-rw-r--r-- | Eigen/src/Sparse/CholmodSupport.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Eigen/src/Sparse/CholmodSupport.h b/Eigen/src/Sparse/CholmodSupport.h index d1d10158a..b6c13350c 100644 --- a/Eigen/src/Sparse/CholmodSupport.h +++ b/Eigen/src/Sparse/CholmodSupport.h @@ -195,11 +195,12 @@ template<typename MatrixType> template<typename Derived> void SparseLLT<MatrixType,Cholmod>::solveInPlace(MatrixBase<Derived> &b) const { + if (m_status & MatrixLIsDirty) + matrixL(); + const int size = m_matrix.rows(); ei_assert(size==b.rows()); - if (m_status & MatrixLIsDirty) - matrixL(); Base::solveInPlace(b); } |