mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 12:46:00 +08:00
Fixed compilation warning
This commit is contained in:
parent
57857775b4
commit
56983f6d43
@ -345,7 +345,7 @@ struct h_array_reduce {
|
|||||||
template<typename Reducer, typename T, std::size_t N>
|
template<typename Reducer, typename T, std::size_t N>
|
||||||
struct h_array_reduce<Reducer, T, N, 0>
|
struct h_array_reduce<Reducer, T, N, 0>
|
||||||
{
|
{
|
||||||
constexpr static inline T run(const std::array<T, N>& arr, T identity)
|
constexpr static inline T run(const std::array<T, N>& arr, T)
|
||||||
{
|
{
|
||||||
return array_get<0>(arr);
|
return array_get<0>(arr);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user