mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Fix typo in TensorDimensions.h
This commit is contained in:
parent
dfd6720d82
commit
a2c0542010
@ -466,7 +466,7 @@ struct sizes_match_below_dim {
|
|||||||
template <typename Dims1, typename Dims2, ptrdiff_t n>
|
template <typename Dims1, typename Dims2, ptrdiff_t n>
|
||||||
struct sizes_match_below_dim<Dims1, Dims2, n, n> {
|
struct sizes_match_below_dim<Dims1, Dims2, n, n> {
|
||||||
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool run(Dims1& dims1, Dims2& dims2) {
|
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool run(Dims1& dims1, Dims2& dims2) {
|
||||||
return (array_get<n-1>(dims1) == array_get<n-1>(dims2)) &
|
return (array_get<n-1>(dims1) == array_get<n-1>(dims2)) &&
|
||||||
sizes_match_below_dim<Dims1, Dims2, n-1, n-1>::run(dims1, dims2);
|
sizes_match_below_dim<Dims1, Dims2, n-1, n-1>::run(dims1, dims2);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user