mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +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…
Reference in New Issue
Block a user