From d16797cfc06b93d30bee0b698e90ddfe5cb456fe Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sat, 19 Sep 2015 21:44:14 +0200 Subject: [PATCH] Fix bug #1067: naming conflict --- Eigen/src/Core/ProductEvaluators.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Eigen/src/Core/ProductEvaluators.h b/Eigen/src/Core/ProductEvaluators.h index d704eedb9..04e5e5e37 100755 --- a/Eigen/src/Core/ProductEvaluators.h +++ b/Eigen/src/Core/ProductEvaluators.h @@ -237,7 +237,7 @@ EIGEN_DONT_INLINE void outer_product_selector_run(Dst& dst, const Lhs &lhs, cons template struct generic_product_impl { - template struct IsRowMajor : internal::conditional<(int(T::Flags)&RowMajorBit), internal::true_type, internal::false_type>::type {}; + template struct is_row_major : internal::conditional<(int(T::Flags)&RowMajorBit), internal::true_type, internal::false_type>::type {}; typedef typename Product::Scalar Scalar; // TODO it would be nice to be able to exploit our *_assign_op functors for that purpose @@ -255,25 +255,25 @@ struct generic_product_impl template static inline void evalTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) { - internal::outer_product_selector_run(dst, lhs, rhs, set(), IsRowMajor()); + internal::outer_product_selector_run(dst, lhs, rhs, set(), is_row_major()); } template static inline void addTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) { - internal::outer_product_selector_run(dst, lhs, rhs, add(), IsRowMajor()); + internal::outer_product_selector_run(dst, lhs, rhs, add(), is_row_major()); } template static inline void subTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) { - internal::outer_product_selector_run(dst, lhs, rhs, sub(), IsRowMajor()); + internal::outer_product_selector_run(dst, lhs, rhs, sub(), is_row_major()); } template static inline void scaleAndAddTo(Dst& dst, const Lhs& lhs, const Rhs& rhs, const Scalar& alpha) { - internal::outer_product_selector_run(dst, lhs, rhs, adds(alpha), IsRowMajor()); + internal::outer_product_selector_run(dst, lhs, rhs, adds(alpha), is_row_major()); } };