diff options
author | 2015-10-23 12:03:42 -0700 | |
---|---|---|
committer | 2015-10-23 12:03:42 -0700 | |
commit | 56983f6d433a1c3d4fa882a402baeafbef064071 (patch) | |
tree | 76932b40ea340c7a51406e1600bb663968e5bdfa /unsupported | |
parent | 57857775b461b020c16f2bbeb130d6b1863d951c (diff) |
Fixed compilation warning
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Core/util/CXX11Meta.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Core/util/CXX11Meta.h b/unsupported/Eigen/CXX11/src/Core/util/CXX11Meta.h index c44496865..96a7d5c20 100644 --- a/unsupported/Eigen/CXX11/src/Core/util/CXX11Meta.h +++ b/unsupported/Eigen/CXX11/src/Core/util/CXX11Meta.h @@ -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); } |