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