aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h
index 01aedd3c9..d1efc1a87 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h
@@ -32,17 +32,6 @@ template <> struct max_n_1<0> {
};
-
-
-
-
-
-#if defined(EIGEN_HAS_CONSTEXPR)
-#define EIGEN_CONSTEXPR constexpr
-#else
-#define EIGEN_CONSTEXPR
-#endif
-
// Tuple mimics std::pair but works on e.g. nvcc.
template <typename U, typename V> struct Tuple {
public:
@@ -88,7 +77,7 @@ bool operator!=(const Tuple<U, V>& x, const Tuple<U, V>& y) {
-
+#ifdef EIGEN_HAS_SFINAE
namespace internal{
template<typename IndexType, Index... Is>
@@ -127,15 +116,10 @@ namespace internal{
};
}
+#endif
-
-
-
-
-#undef EIGEN_CONSTEXPR
-
} // namespace Eigen
#endif // EIGEN_CXX11_TENSOR_TENSOR_META_H