diff options
author | Gael Guennebaud <g.gael@free.fr> | 2020-05-30 23:53:58 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2020-05-30 23:53:58 +0200 |
commit | 867a75650921cce5e293b75e40de590cf4ccf690 (patch) | |
tree | 55aaeea8a97c63affb8109a565b9f2dd9eb0e319 /Eigen/src/plugins | |
parent | ab615e4114aafebcf44268aae93b97858f549a11 (diff) |
Fix #1833: compilation issue of "array!=scalar" with c++20
Diffstat (limited to 'Eigen/src/plugins')
-rw-r--r-- | Eigen/src/plugins/ArrayCwiseBinaryOps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/plugins/ArrayCwiseBinaryOps.h b/Eigen/src/plugins/ArrayCwiseBinaryOps.h index 73d5f51c8..0e5d5445b 100644 --- a/Eigen/src/plugins/ArrayCwiseBinaryOps.h +++ b/Eigen/src/plugins/ArrayCwiseBinaryOps.h @@ -145,7 +145,7 @@ OP(const Scalar& s) const { \ return this->OP(Derived::PlainObject::Constant(rows(), cols(), s)); \ } \ EIGEN_DEVICE_FUNC friend EIGEN_STRONG_INLINE const RCmp ## COMPARATOR ## ReturnType \ -OP(const Scalar& s, const Derived& d) { \ +OP(const Scalar& s, const EIGEN_CURRENT_STORAGE_BASE_CLASS<Derived>& d) { \ return Derived::PlainObject::Constant(d.rows(), d.cols(), s).OP(d); \ } |