From 608959aa6fce375abb92872350267074a1d90283 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 --- 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 ceb818f19..4d3149d42 100644 --- a/Eigen/src/Cholesky/LDLT.h +++ b/Eigen/src/Cholesky/LDLT.h @@ -322,7 +322,7 @@ template inline const LDLT::PlainObject> MatrixBase::ldlt() const { - return derived(); + return LDLT(derived()); } #endif // EIGEN_LDLT_H