From 42e2578ef9fcbb62ad6e07933ccf531f6f7cd1b3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 19 Aug 2011 14:18:05 +0200 Subject: the min/max macros to detect unprotected min/max were undefined by some std header, so let's declare them after and do the respective fixes ;) --- test/jacobisvd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/jacobisvd.cpp') diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp index 92f07961b..14c965133 100644 --- a/test/jacobisvd.cpp +++ b/test/jacobisvd.cpp @@ -66,7 +66,7 @@ void jacobisvd_compare_to_full(const MatrixType& m, typedef typename MatrixType::Index Index; Index rows = m.rows(); Index cols = m.cols(); - Index diagSize = std::min(rows, cols); + Index diagSize = (std::min)(rows, cols); JacobiSVD svd(m, computationOptions); -- cgit v1.2.3