aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-02-17 10:02:04 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-02-17 10:02:04 -0800
commitf77054f43c67dfcd0956bc57e63aae54d9eab4e5 (patch)
tree7cc4a04b41371b019c97a77536f584dfe626f811 /unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h
parent1d3b64d32b57a756a2c8409a6d60fb308f17e595 (diff)
Silenced compilation warning
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h
index 91d8d54dc..78214df11 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h
@@ -288,7 +288,7 @@ template<typename Axis, typename LeftArgType, typename RightArgType, typename De
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(XprType& op, const Device& device)
: Base(op, device)
{
- EIGEN_STATIC_ASSERT((Layout == ColMajor), YOU_MADE_A_PROGRAMMING_MISTAKE);
+ EIGEN_STATIC_ASSERT((static_cast<int>(Layout) == static_cast<int>(ColMajor)), YOU_MADE_A_PROGRAMMING_MISTAKE);
}
typedef typename XprType::Index Index;