From e54dc24d62b3b431b29a4f3e1570e9e3f274c4c0 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Tue, 7 May 2019 18:30:44 +0200 Subject: [PATCH] Restore C++03 compatibility --- unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h index 05c684ff9..7f0f4acbc 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h @@ -100,7 +100,7 @@ struct TensorEvaluator // Packet16f, `umask` is of type uint16_t and if a bit is 1, corresponding // float element will be loaded, otherwise 0 will be loaded. // Function has been templatized to enable Sfinae. - template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::enable_if::masked_load_available, PacketReturnTypeT>::type partialPacket(Index index, typename internal::unpacket_traits::mask_t umask) const { @@ -261,7 +261,7 @@ struct TensorEvaluator // Packet16f, `umask` is of type uint16_t and if a bit is 1, corresponding // float element will be loaded, otherwise 0 will be loaded. // Function has been templatized to enable Sfinae. - template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::enable_if::masked_load_available, PacketReturnTypeT>::type partialPacket(Index index, typename internal::unpacket_traits::mask_t umask) const {