mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Fix DSizes IndexList constructor
This commit is contained in:
parent
601e289d27
commit
f7d0053cf0
@ -291,8 +291,8 @@ struct DSizes : array<DenseIndex, NumDims> {
|
||||
}
|
||||
|
||||
#ifdef EIGEN_HAS_INDEX_LIST
|
||||
EIGEN_DEVICE_FUNC
|
||||
template <typename FirstType, typename... OtherTypes>
|
||||
EIGEN_DEVICE_FUNC
|
||||
DSizes(const Eigen::IndexList<FirstType, OtherTypes...>& dimensions) {
|
||||
for (int i = 0; i < dimensions.count; ++i) {
|
||||
(*this)[i] = dimensions[i];
|
||||
|
Loading…
Reference in New Issue
Block a user