diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-11 15:56:21 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-11 15:56:21 +0000 |
commit | bcf7b291853eba135c3b63d3484ddd14c750b246 (patch) | |
tree | e5471155293c1151053a5a39a3605375bf63df87 /test/miscmatrices.cpp | |
parent | e092cbc75cadef1158d43f07b32e4ae0bf9372e2 (diff) |
rework Identity API: no longer restricted to square matrices
Diffstat (limited to 'test/miscmatrices.cpp')
-rw-r--r-- | test/miscmatrices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/miscmatrices.cpp b/test/miscmatrices.cpp index 57d6f94eb..42f808b1a 100644 --- a/test/miscmatrices.cpp +++ b/test/miscmatrices.cpp @@ -51,7 +51,7 @@ template<typename MatrixType> void miscMatrices(const MatrixType& m) else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast<Scalar>(1)); square = MatrixType::zero(rows, rows); square.diagonal() = VectorType::ones(rows); - VERIFY_IS_APPROX(square, MatrixType::identity(rows)); + VERIFY_IS_APPROX(square, MatrixType::identity(rows, rows)); } void EigenTest::testMiscMatrices() |