From 6daa6a0d164ac3c225645e47f55238e9ba2a32cc Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 22 Jul 2014 11:35:56 +0200 Subject: Refactor TriangularView to handle both dense and sparse objects. Introduce a glu_shape helper to assemble sparse/dense shapes with triagular/seladjoint views. --- Eigen/src/SparseCholesky/SimplicialCholesky.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Eigen/src/SparseCholesky') diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky.h b/Eigen/src/SparseCholesky/SimplicialCholesky.h index f41d7e010..21c7e0b39 100644 --- a/Eigen/src/SparseCholesky/SimplicialCholesky.h +++ b/Eigen/src/SparseCholesky/SimplicialCholesky.h @@ -253,8 +253,8 @@ template struct traits CholMatrixType; - typedef SparseTriangularView MatrixL; - typedef SparseTriangularView MatrixU; + typedef TriangularView MatrixL; + typedef TriangularView MatrixU; static inline MatrixL getL(const MatrixType& m) { return m; } static inline MatrixU getU(const MatrixType& m) { return m.adjoint(); } }; @@ -266,8 +266,8 @@ template struct traits CholMatrixType; - typedef SparseTriangularView MatrixL; - typedef SparseTriangularView MatrixU; + typedef TriangularView MatrixL; + typedef TriangularView MatrixU; static inline MatrixL getL(const MatrixType& m) { return m; } static inline MatrixU getU(const MatrixType& m) { return m.adjoint(); } }; -- cgit v1.2.3