mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Fix a bug in TensorIndexList.h
This commit is contained in:
parent
d46d726e9d
commit
b1aa07a8d3
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user