diff options
Diffstat (limited to 'Eigen/src/Core/CwiseUnaryOp.h')
-rw-r--r-- | Eigen/src/Core/CwiseUnaryOp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/CwiseUnaryOp.h b/Eigen/src/Core/CwiseUnaryOp.h index b5a9e4d91..bb354958e 100644 --- a/Eigen/src/Core/CwiseUnaryOp.h +++ b/Eigen/src/Core/CwiseUnaryOp.h @@ -137,7 +137,7 @@ MatrixBase<Derived>::operator-() const /** \returns an expression of the coefficient-wise absolute value of \c *this */ template<typename ExpressionType> -inline const typename Cwise<ExpressionType>::template UnOp<ei_scalar_abs_op>::ReturnType +inline const EIGEN_CWISE_UNOP_RETURN_TYPE(ei_scalar_abs_op) Cwise<ExpressionType>::abs() const { return _expression(); @@ -146,7 +146,7 @@ Cwise<ExpressionType>::abs() const /** \returns an expression of the coefficient-wise squared absolute value of \c *this */ template<typename ExpressionType> -inline const typename Cwise<ExpressionType>::template UnOp<ei_scalar_abs2_op>::ReturnType +inline const EIGEN_CWISE_UNOP_RETURN_TYPE(ei_scalar_abs2_op) Cwise<ExpressionType>::abs2() const { return _expression(); |