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 {