mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-05 17:50:26 +08:00
Remove unnecessary std::tuple reference.
This commit is contained in:
parent
26e5beb8cb
commit
6c10495a78
@ -379,10 +379,10 @@ template<typename FirstType, typename... OtherTypes> struct array_size<const Ind
|
||||
};
|
||||
|
||||
template<typename FirstType, typename... OtherTypes> struct array_size<IndexPairList<FirstType, OtherTypes...> > {
|
||||
static const size_t value = std::tuple_size<std::tuple<FirstType, OtherTypes...> >::value;
|
||||
static const size_t value = 1 + sizeof...(OtherTypes);
|
||||
};
|
||||
template<typename FirstType, typename... OtherTypes> struct array_size<const IndexPairList<FirstType, OtherTypes...> > {
|
||||
static const size_t value = std::tuple_size<std::tuple<FirstType, OtherTypes...> >::value;
|
||||
static const size_t value = 1 + sizeof...(OtherTypes);
|
||||
};
|
||||
|
||||
template<Index N, typename FirstType, typename... OtherTypes> EIGEN_DEVICE_FUNC constexpr Index array_get(IndexList<FirstType, OtherTypes...>& a) {
|
||||
|
Loading…
Reference in New Issue
Block a user