aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/fastmath.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-28 20:18:00 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-28 20:18:00 +0100
commit5b6cff5b0e7dcb7b36b44c61263da7e281800799 (patch)
tree12c443faf258d19b470e4f98929d5c37fab3e328 /test/fastmath.cpp
parent6759a21e49614dd7cd977e3c1fd782458f33fc9f (diff)
fix typo
Diffstat (limited to 'test/fastmath.cpp')
-rw-r--r--test/fastmath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fastmath.cpp b/test/fastmath.cpp
index 16462d54f..efdd5b313 100644
--- a/test/fastmath.cpp
+++ b/test/fastmath.cpp
@@ -18,7 +18,7 @@ void check(bool b, bool ref)
std::cout << " BAD ";
}
-#if EIGEN_COMP_MSVC < 1800
+#if EIGEN_COMP_MSVC && EIGEN_COMP_MSVC < 1800
namespace std {
template<typename T> bool (isfinite)(T x) { return _finite(x); }
template<typename T> bool (isnan)(T x) { return _isnan(x); }