From e8d0dbf82e224fa57f0741bef58c3f57ec9f7895 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 16 Nov 2009 15:07:33 -0500 Subject: PermutationMatrix: * make multiplication order not be reversed * release-quality documentation --- test/permutationmatrices.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/permutationmatrices.cpp') diff --git a/test/permutationmatrices.cpp b/test/permutationmatrices.cpp index ec3a8541c..c4affc795 100644 --- a/test/permutationmatrices.cpp +++ b/test/permutationmatrices.cpp @@ -66,7 +66,7 @@ template void permutationmatrices(const MatrixType& m) for (int i=0; i lm(lp); Matrix rm(rp); @@ -80,7 +80,7 @@ template void permutationmatrices(const MatrixType& m) randomPermutationVector(lv2, rows); LeftPermutationType lp2(lv2); Matrix lm2(lp2); - VERIFY_IS_APPROX((lp*lp2).toDenseMatrix().template cast(), lm2*lm); + VERIFY_IS_APPROX((lp*lp2).toDenseMatrix().template cast(), lm*lm2); } void test_permutationmatrices() -- cgit v1.2.3