From 9a81de1d3543d89d2cc5d32294d96b3c58730b21 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 28 Jun 2018 00:20:59 +0200 Subject: [PATCH] Fix order of EIGEN_DEVICE_FUNC and returned type --- Eigen/src/Core/ArrayWrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/ArrayWrapper.h b/Eigen/src/Core/ArrayWrapper.h index 688aadd62..757b31825 100644 --- a/Eigen/src/Core/ArrayWrapper.h +++ b/Eigen/src/Core/ArrayWrapper.h @@ -90,8 +90,8 @@ class ArrayWrapper : public ArrayBase > EIGEN_DEVICE_FUNC inline void evalTo(Dest& dst) const { dst = m_expression; } - const typename internal::remove_all::type& EIGEN_DEVICE_FUNC + const typename internal::remove_all::type& nestedExpression() const { return m_expression;