mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-02 00:34:14 +08:00
fix stupid typo
This commit is contained in:
parent
a382bc9364
commit
725bd92903
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user