diff options
author | 2009-11-18 14:52:52 +0100 | |
---|---|---|
committer | 2009-11-18 14:52:52 +0100 | |
commit | 0529ecfe1b43d40e40755a2d856188d3ded2c14e (patch) | |
tree | 8f3cebe51db62e2f65c48d547cc3e89de5285669 /Eigen/src/Sparse/SparseLLT.h | |
parent | 1e62e0b0d823078aa2d9b8ed2c93f7bc889df177 (diff) |
Big refactoring/cleaning in the spasre module with
in particular the addition of a selfadjointView, and the
extension of triangularView. The rest is cleaning and does not
change/extend the API.
Diffstat (limited to 'Eigen/src/Sparse/SparseLLT.h')
-rw-r--r-- | Eigen/src/Sparse/SparseLLT.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Sparse/SparseLLT.h b/Eigen/src/Sparse/SparseLLT.h index b2f65b944..6307b2493 100644 --- a/Eigen/src/Sparse/SparseLLT.h +++ b/Eigen/src/Sparse/SparseLLT.h @@ -193,15 +193,15 @@ bool SparseLLT<MatrixType, Backend>::solveInPlace(MatrixBase<Derived> &b) const const int size = m_matrix.rows(); ei_assert(size==b.rows()); - m_matrix.template triangular<LowerTriangular>().solveInPlace(b); + m_matrix.template triangularView<LowerTriangular>().solveInPlace(b); // FIXME should be simply .adjoint() but it fails to compile... if (NumTraits<Scalar>::IsComplex) { CholMatrixType aux = m_matrix.conjugate(); - aux.transpose().template triangular<UpperTriangular>().solveInPlace(b); + aux.transpose().template triangularView<UpperTriangular>().solveInPlace(b); } else - m_matrix.transpose().template triangular<UpperTriangular>().solveInPlace(b); + m_matrix.transpose().template triangularView<UpperTriangular>().solveInPlace(b); return true; } |