diff options
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 2a3398d67..0e9133c49 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -279,7 +279,7 @@ struct tuple_coeff<0, ValueT> { } template <typename... T> EIGEN_DEVICE_FUNC static constexpr bool value_known_statically(const Index i, const IndexTuple<T...>&) { - return is_compile_time_constant<typename IndexTupleExtractor<0, T...>::ValType>::value & (i == 0); + return is_compile_time_constant<typename IndexTupleExtractor<0, T...>::ValType>::value && (i == 0); } template <typename... T> |