Fix some max size expressions.

This commit is contained in:
Antonio Sánchez
2022-04-06 22:19:57 +00:00
parent edc822666d
commit 2c45a3846e
3 changed files with 6 additions and 3 deletions

View File

@@ -132,7 +132,8 @@ template<typename Derived> class DenseBase
* \sa ColsAtCompileTime, MaxRowsAtCompileTime, MaxSizeAtCompileTime
*/
MaxSizeAtCompileTime = (internal::size_of_xpr_at_compile_time<Derived>::ret),
MaxSizeAtCompileTime = internal::size_at_compile_time(internal::traits<Derived>::MaxRowsAtCompileTime,
internal::traits<Derived>::MaxColsAtCompileTime),
/**< This value is equal to the maximum possible number of coefficients that this expression
* might have. If this expression might have an arbitrarily high number of coefficients,
* this value is set to \a Dynamic.