mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Fix extraction of compile-time size of std::array with gcc
This commit is contained in:
parent
233dff1b35
commit
75aef5b37f
@ -178,7 +178,7 @@ template<typename T, int XprSize, int N> struct get_compile_time_size<const T (&
|
||||
};
|
||||
|
||||
#ifdef EIGEN_HAS_CXX11
|
||||
template<typename T, int XprSize, int N> struct get_compile_time_size<std::array<T,N>,XprSize> {
|
||||
template<typename T, int XprSize, std::size_t N> struct get_compile_time_size<std::array<T,N>,XprSize> {
|
||||
enum { value = N };
|
||||
};
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user