mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
bugfix in Product and ei_L2_block_traits
This commit is contained in:
@@ -54,7 +54,11 @@ template<typename T> struct ei_unpointer<T*const> { typedef T type; };
|
||||
|
||||
template<typename T> struct ei_unconst { typedef T type; };
|
||||
template<typename T> struct ei_unconst<const T> { typedef T type; };
|
||||
// template<typename T> struct ei_unconst<const T&> { typedef T& type; };
|
||||
template<typename T> struct ei_unconst<T const &> { typedef T & type; };
|
||||
template<typename T> struct ei_unconst<T const *> { typedef T * type; };
|
||||
template<typename T> struct ei_unconst<T const volatile> { typedef T volatile type; };
|
||||
template<typename T> struct ei_unconst<T const volatile &> { typedef T volatile & type; };
|
||||
template<typename T> struct ei_unconst<T const volatile *> { typedef T volatile * type; };
|
||||
|
||||
template<typename T> struct ei_cleantype { typedef T type; };
|
||||
template<typename T> struct ei_cleantype<const T> { typedef typename ei_cleantype<T>::type type; };
|
||||
|
||||
Reference in New Issue
Block a user