From 1f4b8e6a367badd0bce9ccaeaa4c16a6d8be5c8b Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 21 Feb 2010 10:29:19 +0100 Subject: [PATCH] compilation fix in ldlt() for non matrix types (transplanted from 608959aa6fce375abb92872350267074a1d90283 ) --- Eigen/src/Cholesky/LDLT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Cholesky/LDLT.h b/Eigen/src/Cholesky/LDLT.h index 205b78a6d..a511a7dc4 100644 --- a/Eigen/src/Cholesky/LDLT.h +++ b/Eigen/src/Cholesky/LDLT.h @@ -192,7 +192,7 @@ template inline const LDLT::PlainMatrixType> MatrixBase::ldlt() const { - return derived(); + return LDLT(derived()); } #endif // EIGEN_LDLT_H