aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/nullary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/nullary.cpp')
-rw-r--r--test/nullary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nullary.cpp b/test/nullary.cpp
index 0bde253df..0df15c081 100644
--- a/test/nullary.cpp
+++ b/test/nullary.cpp
@@ -38,7 +38,7 @@ bool equalsIdentity(const MatrixType& A)
}
}
for (Index i = 0; i < A.rows(); ++i) {
- for (Index j = 0; j < std::min(i, A.cols()); ++j) {
+ for (Index j = 0; j < (std::min)(i, A.cols()); ++j) {
offDiagOK = offDiagOK && (A(i,j) == zero);
}
}