fix matrix product with EIGEN_DEFAULT_TO_ROW_MAJOR

This commit is contained in:
Gael Guennebaud
2010-01-25 21:56:01 +01:00
parent d209120180
commit 7852a48a2f
3 changed files with 69 additions and 19 deletions

View File

@@ -77,6 +77,7 @@ template<typename MatrixType> void product(const MatrixType& m)
// begin testing Product.h: only associativity for now
// (we use Transpose.h but this doesn't count as a test for it)
VERIFY_IS_APPROX((m1*m1.transpose())*m2, m1*(m1.transpose()*m2));
m3 = m1;
m3 *= m1.transpose() * m2;