aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/householder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/householder.cpp')
-rw-r--r--test/householder.cpp2
1 files changed, 1 insertions, 1 deletions
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<typename MatrixType> void householder(const MatrixType& m)
typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, Dynamic> VBlockMatrixType;
typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, MatrixType::RowsAtCompileTime> TMatrixType;
- Matrix<Scalar, EIGEN_SIZE_MAX(MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime), 1> _tmp(std::max(rows,cols));
+ Matrix<Scalar, EIGEN_SIZE_MAX(MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime), 1> _tmp((std::max)(rows,cols));
Scalar* tmp = &_tmp.coeffRef(0,0);
Scalar beta;