diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-09-28 10:49:55 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-09-28 10:49:55 -0400 |
commit | eeabd18afc5fca290612aada629a294f85d9d353 (patch) | |
tree | f34a66f06bd69c856bc66d83e6d20b114724e8dd /test/qr_colpivoting.cpp | |
parent | 67bf7c90c5c41d8b62411c298d657908537118ea (diff) |
Fix compilation of HouseholderQR and ColPivotingHouseholderQR for non-square fixed-size matrices.
For Colpiv that was just changing MatrixQType to MatrixType in the instantiation of HouseholderSequence.
For HouseholderQR I also re-ported the solve method from Colpiv as there were multiple issues.
Diffstat (limited to 'test/qr_colpivoting.cpp')
-rw-r--r-- | test/qr_colpivoting.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/qr_colpivoting.cpp b/test/qr_colpivoting.cpp index e0edad842..4b6f7dd6b 100644 --- a/test/qr_colpivoting.cpp +++ b/test/qr_colpivoting.cpp @@ -154,10 +154,9 @@ void test_qr_colpivoting() CALL_SUBTEST( qr<MatrixXf>() ); CALL_SUBTEST( qr<MatrixXd>() ); CALL_SUBTEST( qr<MatrixXcd>() ); + CALL_SUBTEST(( qr_fixedsize<Matrix<float,3,5>, 4 >() )); + CALL_SUBTEST(( qr_fixedsize<Matrix<double,6,2>, 3 >() )); } - - CALL_SUBTEST(( qr_fixedsize<Matrix<float,3,5>, 4 >() )); - CALL_SUBTEST(( qr_fixedsize<Matrix<double,6,2>, 3 >() )); for(int i = 0; i < g_repeat; i++) { CALL_SUBTEST( qr_invertible<MatrixXf>() ); |