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/householder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/householder.cpp') diff --git a/test/householder.cpp b/test/householder.cpp index e0aa40733..6f6f317ea 100644 --- a/test/householder.cpp +++ b/test/householder.cpp @@ -48,7 +48,7 @@ template void householder(const MatrixType& m) typedef Matrix VBlockMatrixType; typedef Matrix TMatrixType; - Matrix _tmp(std::max(rows,cols)); + Matrix _tmp((std::max)(rows,cols)); Scalar* tmp = &_tmp.coeffRef(0,0); Scalar beta; -- cgit v1.2.3