diff --git a/Eigen/src/plugins/ArrayCwiseUnaryOps.h b/Eigen/src/plugins/ArrayCwiseUnaryOps.h index 4e64826da..bb1f96bdc 100644 --- a/Eigen/src/plugins/ArrayCwiseUnaryOps.h +++ b/Eigen/src/plugins/ArrayCwiseUnaryOps.h @@ -4,7 +4,7 @@ //typedef CwiseUnaryOp, const Derived> AbsReturnType; //typedef CwiseUnaryOp, const Derived> Abs2ReturnType; //typedef CwiseUnaryOp, const Derived> SqrtReturnType; -//typedef CwiseUnaryOp, const Derived> CwiseInverseReturnType; +typedef CwiseUnaryOp, const Derived> InverseReturnType; //typedef CwiseUnaryOp >, const Derived> CwiseScalarEqualReturnType; typedef CwiseUnaryOp, const Derived> ExpReturnType; @@ -214,10 +214,10 @@ pow(const Scalar& exponent) const * \sa operator/(), operator*() */ EIGEN_DEVICE_FUNC -inline const CwiseInverseReturnType +inline const InverseReturnType inverse() const { - return CwiseInverseReturnType(derived()); + return InverseReturnType(derived()); } /** \returns an expression of the coefficient-wise square of *this.