mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-06 02:34:05 +08:00
Fixed compilation warning
This commit is contained in:
parent
9f721384e0
commit
9dc236bc83
@ -354,7 +354,7 @@ struct h_array_reduce<Reducer, T, N, 0>
|
||||
template<typename Reducer, typename T>
|
||||
struct h_array_reduce<Reducer, T, 0>
|
||||
{
|
||||
constexpr static inline T run(const std::array<T, 0>& arr, T identity)
|
||||
constexpr static inline T run(const std::array<T, 0>&, T identity)
|
||||
{
|
||||
return identity;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user