From 668ab3fc474e54c7919eda4fbaf11f3a99246494 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Fri, 18 Oct 2019 16:42:00 -0700 Subject: Drop support for c++03 in Eigen tensor. Get rid of some code used to emulate c++11 functionality with older compilers. --- unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h index cee7ae657..a5c293cf9 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h @@ -445,7 +445,7 @@ __global__ void OuterReductionKernel(R, const S, I_, I_, typename S::CoeffReturn */ template struct ReductionReturnType { -#if EIGEN_HAS_CXX11 && defined(EIGEN_USE_SYCL) +#if defined(EIGEN_USE_SYCL) typedef typename remove_const().initialize())>::type type; #else typedef typename remove_const::type type; -- cgit v1.2.3