mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
better fix for (v * v') * v, we still have to find a way to reorder it
This commit is contained in:
@@ -135,7 +135,7 @@ struct ProductReturnType<Lhs,Rhs,UnrolledProduct>
|
||||
{
|
||||
typedef typename ei_nested<Lhs,Rhs::ColsAtCompileTime>::type LhsNested;
|
||||
typedef typename ei_nested<Rhs,Lhs::RowsAtCompileTime>::type RhsNested;
|
||||
typedef GeneralProduct<Lhs, Rhs, UnrolledProduct> Type;
|
||||
typedef GeneralProduct<LhsNested, RhsNested, UnrolledProduct> Type;
|
||||
};
|
||||
|
||||
|
||||
@@ -212,11 +212,6 @@ class GeneralProduct<Lhs, Rhs, OuterProduct>
|
||||
ei_outer_product_selector<(int(Dest::Flags)&RowMajorBit) ? RowMajor : ColMajor>::run(*this, dest, alpha);
|
||||
}
|
||||
|
||||
Scalar coeff(int row, int col) const
|
||||
{
|
||||
return this->lhs().coeff(row) * this->rhs().coeff(col);
|
||||
}
|
||||
|
||||
private:
|
||||
GeneralProduct& operator=(const GeneralProduct&);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user