diff options
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/functors/UnaryFunctors.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<scalar_cast_op<Scalar,NewType> > * \sa class CwiseUnaryOp, MatrixBase::shift_right() */ template<typename Scalar, int N> -struct scalar_shift_right_op : unary_op_base<Scalar> { +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<scalar_shift_right_op<Scalar,N> > * \sa class CwiseUnaryOp, MatrixBase::shift_left() */ template<typename Scalar, int N> -struct scalar_shift_left_op : unary_op_base<Scalar> { +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 |