diff --git a/Eigen/src/plugins/IndexedViewMethods.h b/Eigen/src/plugins/IndexedViewMethods.h index 78f12fe05..e5432eacc 100644 --- a/Eigen/src/plugins/IndexedViewMethods.h +++ b/Eigen/src/plugins/IndexedViewMethods.h @@ -37,7 +37,7 @@ inline IvcColType ivcCol(const Indices& indices) const { } template -inline IvcColType ivcSize(const Indices& indices) const { +inline IvcType ivcSize(const Indices& indices) const { return internal::makeIndexedViewCompatible( indices, internal::variable_if_dynamic(derived().size()), Specialized); }