Fix input type for min/max.

We're missing an input base class specifier for the default `NanPropagation=PropagateFast`
case for consistency.

Fixes #2990.
This commit is contained in:
Antonio Sanchez
2025-10-20 12:24:38 -07:00
parent 0295f81a83
commit 28ded8800c

View File

@@ -51,7 +51,7 @@ min
#else
(min)
#endif
(const OtherDerived &other) const
(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
{
return (min<PropagateFast>)(other);
}
@@ -115,7 +115,7 @@ max
#else
(max)
#endif
(const OtherDerived &other) const
(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
{
return (max<PropagateFast>)(other);
}