From 2a1bff67fddc35e8ce0217fcf37835f71e4002a8 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 25 May 2016 10:00:11 +0200 Subject: Fix static/inline order. --- Eigen/src/Core/ProductEvaluators.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Eigen/src/Core/ProductEvaluators.h') diff --git a/Eigen/src/Core/ProductEvaluators.h b/Eigen/src/Core/ProductEvaluators.h index e2230037f..5b223d8bf 100644 --- a/Eigen/src/Core/ProductEvaluators.h +++ b/Eigen/src/Core/ProductEvaluators.h @@ -128,8 +128,8 @@ struct Assignment, internal::assign_op::type> { typedef Product SrcXprType; - EIGEN_STRONG_INLINE - static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op &) + static EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op &) { // FIXME shall we handle nested_eval here? generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); @@ -142,8 +142,8 @@ struct Assignment, internal::add_assign_op< typename enable_if<(Options==DefaultProduct || Options==AliasFreeProduct),Scalar>::type> { typedef Product SrcXprType; - EIGEN_STRONG_INLINE - static void run(DstXprType &dst, const SrcXprType &src, const internal::add_assign_op &) + static EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const internal::add_assign_op &) { // FIXME shall we handle nested_eval here? generic_product_impl::addTo(dst, src.lhs(), src.rhs()); @@ -156,8 +156,8 @@ struct Assignment, internal::sub_assign_op< typename enable_if<(Options==DefaultProduct || Options==AliasFreeProduct),Scalar>::type> { typedef Product SrcXprType; - EIGEN_STRONG_INLINE - static void run(DstXprType &dst, const SrcXprType &src, const internal::sub_assign_op &) + static EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const internal::sub_assign_op &) { // FIXME shall we handle nested_eval here? generic_product_impl::subTo(dst, src.lhs(), src.rhs()); @@ -174,8 +174,8 @@ struct Assignment, const Product > SrcXprType; - EIGEN_STRONG_INLINE - static void run(DstXprType &dst, const SrcXprType &src, const AssignFunc& func) + static EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const AssignFunc& func) { call_assignment_no_alias(dst, (src.functor().m_other * src.nestedExpression().lhs())*src.nestedExpression().rhs(), func); } @@ -196,8 +196,8 @@ template, const OtherXpr, const ProductType> SrcXprType; - EIGEN_STRONG_INLINE - static void run(DstXprType &dst, const SrcXprType &src, const Func1& func) + static EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const Func1& func) { call_assignment_no_alias(dst, src.lhs(), func); call_assignment_no_alias(dst, src.rhs(), Func2()); -- cgit v1.2.3