From 052b6b40f179a7e3ee7ae14c057facb45fde7b9c Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Sun, 22 Feb 2015 12:40:51 +0100 Subject: Fix two trivial warnings --- Eigen/src/SparseCholesky/SimplicialCholesky.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/SparseCholesky') diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky.h b/Eigen/src/SparseCholesky/SimplicialCholesky.h index e2d7f95f2..a0815e708 100644 --- a/Eigen/src/SparseCholesky/SimplicialCholesky.h +++ b/Eigen/src/SparseCholesky/SimplicialCholesky.h @@ -665,7 +665,7 @@ void SimplicialCholeskyBase::ordering(const MatrixType& a, ConstCholMat { m_Pinv.resize(0); m_P.resize(0); - if(UpLo==Lower || MatrixType::IsRowMajor) + if(int(UpLo)==int(Lower) || MatrixType::IsRowMajor) { // we have to transpose the lower part to to the upper one ap.resize(size,size); -- cgit v1.2.3