diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-11-10 21:22:55 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-11-10 21:22:55 +0100 |
commit | f647fb8dd4317c074a9ec7ccaee78a8281d9e344 (patch) | |
tree | e2847df13633d82ff754d29f1f632ccd63c726b9 /unsupported/Eigen/src/Skyline/SkylineProduct.h | |
parent | 58632c1652438138990e9d73fe1327a23cca51ec (diff) |
fix compilation and removed some unused stuff in skyline
Diffstat (limited to 'unsupported/Eigen/src/Skyline/SkylineProduct.h')
-rw-r--r-- | unsupported/Eigen/src/Skyline/SkylineProduct.h | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/unsupported/Eigen/src/Skyline/SkylineProduct.h b/unsupported/Eigen/src/Skyline/SkylineProduct.h index 85ccacac8..9586576b5 100644 --- a/unsupported/Eigen/src/Skyline/SkylineProduct.h +++ b/unsupported/Eigen/src/Skyline/SkylineProduct.h @@ -25,17 +25,6 @@ #ifndef EIGEN_SKYLINEPRODUCT_H #define EIGEN_SKYLINEPRODUCT_H -template<typename Lhs, typename Rhs> struct ei_skyline_product_mode { - - enum { - value = (Rhs::Flags & Lhs::Flags & SkylineBit) == SkylineBit - ? SkylineTimeSkylineProduct - : (Lhs::Flags & SkylineBit) == SkylineBit - ? SkylineTimeDenseProduct - : DenseTimeSkylineProduct - }; -}; - template<typename Lhs, typename Rhs, int ProductMode> struct SkylineProductReturnType { typedef const typename ei_nested<Lhs, Rhs::RowsAtCompileTime>::type LhsNested; @@ -290,16 +279,16 @@ struct ei_skyline_product_selector<Lhs, Rhs, ResultType, ColMajor> { } }; -template<typename Derived> -template<typename Lhs, typename Rhs > -Derived & MatrixBase<Derived>::lazyAssign(const SkylineProduct<Lhs, Rhs, SkylineTimeDenseProduct>& product) { - typedef typename ei_cleantype<Lhs>::type _Lhs; - ei_skyline_product_selector<typename ei_cleantype<Lhs>::type, - typename ei_cleantype<Rhs>::type, - Derived>::run(product.lhs(), product.rhs(), derived()); - - return derived(); -} +// template<typename Derived> +// template<typename Lhs, typename Rhs > +// Derived & MatrixBase<Derived>::lazyAssign(const SkylineProduct<Lhs, Rhs, SkylineTimeDenseProduct>& product) { +// typedef typename ei_cleantype<Lhs>::type _Lhs; +// ei_skyline_product_selector<typename ei_cleantype<Lhs>::type, +// typename ei_cleantype<Rhs>::type, +// Derived>::run(product.lhs(), product.rhs(), derived()); +// +// return derived(); +// } // skyline * dense |