diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-05-18 17:46:43 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-05-18 17:46:43 +0200 |
commit | 725bd929038300c89c079325d1989e542beaf23c (patch) | |
tree | 474ca21a1fa157d1d47ac27f004ea34b7808e973 /Eigen/src/Core/util/XprHelper.h | |
parent | a382bc9364b5d5a049678f8cc138670ca1c7a4fa (diff) |
fix stupid typo
Diffstat (limited to 'Eigen/src/Core/util/XprHelper.h')
-rw-r--r-- | Eigen/src/Core/util/XprHelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index 9ffb0474b..16714fa5c 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -40,7 +40,7 @@ template<typename T> struct is_valid_index_type enum { value = #if EIGEN_HAS_TYPE_TRAITS internal::is_integral<T>::value || std::is_enum<T>::value -#else if EIGEN_COMP_MSVC >= 1500 +#elif EIGEN_COMP_MSVC internal::is_integral<T>::value || __is_enum(T) #else // without C++11, we use is_convertible to Index instead of is_integral in order to treat enums as Index. |