mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Fix bad line break. Don't repeat Kahan matrix test since it is deterministic.
This commit is contained in:
parent
d9a6f86cc0
commit
5fb04ab2da
@ -511,8 +511,7 @@ void ColPivHouseholderQR<MatrixType>::computeInPlace()
|
|||||||
if(k != biggest_col_index) {
|
if(k != biggest_col_index) {
|
||||||
m_qr.col(k).swap(m_qr.col(biggest_col_index));
|
m_qr.col(k).swap(m_qr.col(biggest_col_index));
|
||||||
std::swap(m_colNormsUpdated.coeffRef(k), m_colNormsUpdated.coeffRef(biggest_col_index));
|
std::swap(m_colNormsUpdated.coeffRef(k), m_colNormsUpdated.coeffRef(biggest_col_index));
|
||||||
std::swap(m_colNormsDirect.coeffRef(k),
|
std::swap(m_colNormsDirect.coeffRef(k), m_colNormsDirect.coeffRef(biggest_col_index));
|
||||||
m_colNormsDirect.coeffRef(biggest_col_index));
|
|
||||||
++number_of_transpositions;
|
++number_of_transpositions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -212,11 +212,6 @@ void test_qr_colpivoting()
|
|||||||
CALL_SUBTEST_5(( qr_fixedsize<Matrix<double,1,1>, 1 >() ));
|
CALL_SUBTEST_5(( qr_fixedsize<Matrix<double,1,1>, 1 >() ));
|
||||||
}
|
}
|
||||||
|
|
||||||
for(int i = 0; i < g_repeat; i++) {
|
|
||||||
CALL_SUBTEST_1( qr_kahan_matrix<MatrixXf>() );
|
|
||||||
CALL_SUBTEST_2( qr_kahan_matrix<MatrixXd>() );
|
|
||||||
}
|
|
||||||
|
|
||||||
for(int i = 0; i < g_repeat; i++) {
|
for(int i = 0; i < g_repeat; i++) {
|
||||||
CALL_SUBTEST_1( qr_invertible<MatrixXf>() );
|
CALL_SUBTEST_1( qr_invertible<MatrixXf>() );
|
||||||
CALL_SUBTEST_2( qr_invertible<MatrixXd>() );
|
CALL_SUBTEST_2( qr_invertible<MatrixXd>() );
|
||||||
@ -233,4 +228,7 @@ void test_qr_colpivoting()
|
|||||||
|
|
||||||
// Test problem size constructors
|
// Test problem size constructors
|
||||||
CALL_SUBTEST_9(ColPivHouseholderQR<MatrixXf>(10, 20));
|
CALL_SUBTEST_9(ColPivHouseholderQR<MatrixXf>(10, 20));
|
||||||
|
|
||||||
|
CALL_SUBTEST_1( qr_kahan_matrix<MatrixXf>() );
|
||||||
|
CALL_SUBTEST_2( qr_kahan_matrix<MatrixXd>() );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user