diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-10-31 11:45:21 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-10-31 11:45:21 -0700 |
commit | 7f2c6ed2fa35d7f83f0da83c8564b7bd5b01d232 (patch) | |
tree | b4588d016c795171fe9fac87659b891ac243e9ab /unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | |
parent | 85c3389b2845c5bece37dfb155053aef22ea4138 (diff) |
Fixed a compilation warning
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h index c5965065e..3d646c455 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h @@ -387,7 +387,7 @@ static const size_t value = Sizes<Indices...>::count; }; template <std::size_t n, typename std::size_t... Indices> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::size_t array_get(const Sizes<Indices...>) { return get<n, typename Sizes<Indices...>::Base>::value; -}; +} #else template <std::size_t V1, std::size_t V2, std::size_t V3, std::size_t V4, std::size_t V5> struct array_size<const Sizes<V1,V2,V3,V4,V5> > { static const size_t value = Sizes<V1,V2,V3,V4,V5>::count; |