mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-05 17:50:26 +08:00
Make get_compile_time compatible with variable_if_dynamic
This commit is contained in:
parent
c020d307a6
commit
f93d1c58e0
@ -32,6 +32,12 @@ template<int N,int Default> struct get_compile_time<fix_t<N>,Default> {
|
||||
enum { value = N };
|
||||
};
|
||||
|
||||
template<typename T, int N, int Default>
|
||||
struct get_compile_time<variable_if_dynamic<T,N>,Default> {
|
||||
enum { value = N };
|
||||
};
|
||||
|
||||
|
||||
template<typename T> struct is_compile_time { enum { value = false }; };
|
||||
template<int N> struct is_compile_time<fix_t<N> > { enum { value = true }; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user