diff options
author | 2019-05-07 18:30:44 +0200 | |
---|---|---|
committer | 2019-05-07 18:30:44 +0200 | |
commit | e54dc24d62b3b431b29a4f3e1570e9e3f274c4c0 (patch) | |
tree | 18514a6b7276316c5134fb25838dcdd2530a0102 | |
parent | cca76c272c3fbf75607abddd8ad0967c24ac41d7 (diff) |
Restore C++03 compatibility
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h | 4 |
1 files 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 <typename PacketReturnTypeT = PacketReturnType> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + template <typename PacketReturnTypeT> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::enable_if<internal::unpacket_traits<PacketReturnTypeT>::masked_load_available, PacketReturnTypeT>::type partialPacket(Index index, typename internal::unpacket_traits<PacketReturnTypeT>::mask_t umask) const { @@ -261,7 +261,7 @@ struct TensorEvaluator<const Derived, Device> // 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 <typename PacketReturnTypeT = PacketReturnType> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + template <typename PacketReturnTypeT> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::enable_if<internal::unpacket_traits<PacketReturnTypeT>::masked_load_available, PacketReturnTypeT>::type partialPacket(Index index, typename internal::unpacket_traits<PacketReturnTypeT>::mask_t umask) const { |