pff I introduced much too many bugs latey, count--

This commit is contained in:
Gael Guennebaud 2010-03-06 22:24:50 +01:00
parent 61ce1de048
commit 4402034678

View File

@ -84,7 +84,7 @@ public:
* based on the three dimensions of the product. * based on the three dimensions of the product.
* This is a compile time mapping from {1,Small,Large}^3 -> {product types} */ * This is a compile time mapping from {1,Small,Large}^3 -> {product types} */
// FIXME I'm not sure the current mapping is the ideal one. // FIXME I'm not sure the current mapping is the ideal one.
template<> struct ei_product_type_selector<Large,Large,1> { enum { ret = OuterProduct }; }; template<int M, int N> struct ei_product_type_selector<M,N,1> { enum { ret = OuterProduct }; };
template<int Depth> struct ei_product_type_selector<1, 1, Depth> { enum { ret = InnerProduct }; }; template<int Depth> struct ei_product_type_selector<1, 1, Depth> { enum { ret = InnerProduct }; };
template<> struct ei_product_type_selector<1, 1, 1> { enum { ret = InnerProduct }; }; template<> struct ei_product_type_selector<1, 1, 1> { enum { ret = InnerProduct }; };
template<> struct ei_product_type_selector<Small,1, Small> { enum { ret = CoeffBasedProductMode }; }; template<> struct ei_product_type_selector<Small,1, Small> { enum { ret = CoeffBasedProductMode }; };