Add a real plain matrix type to the ei_nested declaration used in product return type.

This commit is contained in:
Hauke Heibel 2010-01-12 09:41:06 +01:00
parent a05d42616b
commit caa9ced853

View File

@ -135,8 +135,8 @@ struct ProductReturnType
template<typename Lhs, typename Rhs>
struct ProductReturnType<Lhs,Rhs,UnrolledProduct>
{
typedef typename ei_nested<Lhs,Rhs::ColsAtCompileTime>::type LhsNested;
typedef typename ei_nested<Rhs,Lhs::RowsAtCompileTime>::type RhsNested;
typedef typename ei_nested<Lhs, Rhs::ColsAtCompileTime, ei_plain_matrix_type<Lhs> >::type LhsNested;
typedef typename ei_nested<Rhs, Lhs::RowsAtCompileTime, ei_plain_matrix_type<Rhs> >::type RhsNested;
typedef GeneralProduct<LhsNested, RhsNested, UnrolledProduct> Type;
};