diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-10-25 11:52:13 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-10-25 11:52:13 +0000 |
commit | 568a7e8eba0cac0555c286aa44a594c109b73276 (patch) | |
tree | 5dacae316af1316e7abb6e26f9acb22c7d036ec0 /test/product.h | |
parent | 72f2c7eed5b7ca85c95ead287b92509229e32e89 (diff) |
improve assertion checking in product
Diffstat (limited to 'test/product.h')
-rw-r--r-- | test/product.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/product.h b/test/product.h index 5ca56d995..62cbdee92 100644 --- a/test/product.h +++ b/test/product.h @@ -101,7 +101,7 @@ template<typename MatrixType> void product(const MatrixType& m) VERIFY_IS_APPROX(MatrixType::Identity(rows, cols)(r,c), static_cast<Scalar>(r==c)); if (rows!=cols) - VERIFY_RAISES_ASSERT(m3 = m1*m1); + VERIFY_RAISES_ASSERT(m3 = m1*m1); // test the previous tests were not screwed up because operator* returns 0 // (we use the more accurate default epsilon) |