From b1ae39794cee2536d28360acd2ea6291806debe1 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Mon, 7 Dec 2015 16:46:35 -0800 Subject: [PATCH] Simplified the code a bit --- Eigen/src/plugins/ArrayCwiseUnaryOps.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Eigen/src/plugins/ArrayCwiseUnaryOps.h b/Eigen/src/plugins/ArrayCwiseUnaryOps.h index ed9818dd1..01432e2f3 100644 --- a/Eigen/src/plugins/ArrayCwiseUnaryOps.h +++ b/Eigen/src/plugins/ArrayCwiseUnaryOps.h @@ -312,7 +312,7 @@ cosh() const * * \sa cos(), sin(), tan() */ -inline const CwiseUnaryOp, Derived> +inline const LgammaReturnType lgamma() const { return LgammaReturnType(derived()); @@ -326,7 +326,7 @@ lgamma() const * * \sa cos(), sin(), tan() */ -inline const CwiseUnaryOp, Derived> +inline const ErfReturnType erf() const { return ErfReturnType(derived()); @@ -340,7 +340,7 @@ erf() const * * \sa cos(), sin(), tan() */ -inline const CwiseUnaryOp, Derived> +inline const ErfcReturnType erfc() const { return ErfcReturnType(derived());