From 3134d5290bb39446e5d5966d59aa25dad4e29ca3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 20 Jan 2009 10:38:56 +0000 Subject: forgot to include the update of the qr test --- test/qr.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/qr.cpp') diff --git a/test/qr.cpp b/test/qr.cpp index be9e97a04..9ce808429 100644 --- a/test/qr.cpp +++ b/test/qr.cpp @@ -66,4 +66,13 @@ void test_qr() CALL_SUBTEST( qr(MatrixXcd(5,5)) ); CALL_SUBTEST( qr(MatrixXcd(7,3)) ); } + + // small isFullRank test + { + Matrix3d mat; + mat << 1, 45, 1, 2, 2, 2, 1, 2, 3; + VERIFY(mat.qr().isFullRank()); + mat << 1, 1, 1, 2, 2, 2, 1, 2, 3; + VERIFY(!mat.qr().isFullRank()); + } } -- cgit v1.2.3