diff --git a/Eigen/src/plugins/ArrayCwiseBinaryOps.h b/Eigen/src/plugins/ArrayCwiseBinaryOps.h index 6a79563c9..a5dcd7ed6 100644 --- a/Eigen/src/plugins/ArrayCwiseBinaryOps.h +++ b/Eigen/src/plugins/ArrayCwiseBinaryOps.h @@ -51,7 +51,7 @@ min #else (min) #endif -(const OtherDerived &other) const +(const EIGEN_CURRENT_STORAGE_BASE_CLASS &other) const { return (min)(other); } @@ -115,7 +115,7 @@ max #else (max) #endif -(const OtherDerived &other) const +(const EIGEN_CURRENT_STORAGE_BASE_CLASS &other) const { return (max)(other); }