diff --git a/Eigen/src/Core/functors/UnaryFunctors.h b/Eigen/src/Core/functors/UnaryFunctors.h index e34eac296..a55d7b74e 100644 --- a/Eigen/src/Core/functors/UnaryFunctors.h +++ b/Eigen/src/Core/functors/UnaryFunctors.h @@ -172,7 +172,7 @@ struct functor_traits > * \sa class CwiseUnaryOp, MatrixBase::shift_right() */ template -struct scalar_shift_right_op : unary_op_base { +struct scalar_shift_right_op { EIGEN_EMPTY_STRUCT_CTOR(scalar_shift_right_op) EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const @@ -191,7 +191,7 @@ struct functor_traits > * \sa class CwiseUnaryOp, MatrixBase::shift_left() */ template -struct scalar_shift_left_op : unary_op_base { +struct scalar_shift_left_op { EIGEN_EMPTY_STRUCT_CTOR(scalar_shift_left_op) EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const