aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-01-27 15:37:03 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-01-27 15:37:03 -0800
commit291069e885dccad6059e4bda34aad30ab69cbd85 (patch)
treedf291d510099ec9b22d4ee505cbeb6495f0ec2d7 /unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
parent47ca9dc809801b60c1bfe49b391a37bd62eb8888 (diff)
Fixed some compilation problems with nvcc + clang
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
index 09ee0c2c6..7a5dfbfea 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
@@ -346,7 +346,7 @@ struct InnerReducer {
static const bool HasOptimizedImplementation = false;
static void run(const Self&, Op&, const Device&, typename Self::CoeffReturnType*, typename Self::Index, typename Self::Index) {
- assert(false && "Not implemented");
+ eigen_assert(false && "Not implemented");
}
};
@@ -356,7 +356,7 @@ struct OuterReducer {
static const bool HasOptimizedImplementation = false;
static void run(const Self&, Op&, const Device&, typename Self::CoeffReturnType*, typename Self::Index, typename Self::Index) {
- assert(false && "Not implemented");
+ eigen_assert(false && "Not implemented");
}
};