mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user