mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
forgot to include the update of the qr test
This commit is contained in:
@@ -66,4 +66,13 @@ void test_qr()
|
|||||||
CALL_SUBTEST( qr(MatrixXcd(5,5)) );
|
CALL_SUBTEST( qr(MatrixXcd(5,5)) );
|
||||||
CALL_SUBTEST( qr(MatrixXcd(7,3)) );
|
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());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user