From 18f6e47815e2e771a0043d90ed52f853158c416c Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 16 Sep 2016 11:32:54 +0200 Subject: Fix order of "static inline". --- unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h index fc75dbb5c..1ba8d6328 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h @@ -190,25 +190,25 @@ struct reducer_traits, Device> { template struct MinMaxBottomValue { - EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE static T bottom_value() { + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE T bottom_value() { return Eigen::NumTraits::lowest(); } }; template struct MinMaxBottomValue { - EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE static T bottom_value() { + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE T bottom_value() { return -Eigen::NumTraits::infinity(); } }; template struct MinMaxBottomValue { - EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE static T bottom_value() { + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE T bottom_value() { return Eigen::NumTraits::highest(); } }; template struct MinMaxBottomValue { - EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE static T bottom_value() { + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE T bottom_value() { return Eigen::NumTraits::infinity(); } }; -- cgit v1.2.3