From bcf7b291853eba135c3b63d3484ddd14c750b246 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 11 Jan 2008 15:56:21 +0000 Subject: rework Identity API: no longer restricted to square matrices --- test/miscmatrices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/miscmatrices.cpp') 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 void miscMatrices(const MatrixType& m) else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast(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() -- cgit v1.2.3