diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-01-07 21:53:52 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-01-07 21:53:52 -0500 |
commit | 58fb27cd566f4057cee914be4cfe4f87abe8dc04 (patch) | |
tree | 44b86687bfa119443960a2c27ae4a9e4e2c3d3dc /test | |
parent | 7befc8d6f396b4013ff30382dbb8be4aea906908 (diff) |
undo
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/householder.cpp | 2 | ||||
-rw-r--r-- | test/qr.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e82026ee9..803434748 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -133,6 +133,7 @@ ei_add_test(hessenberg " " "${GSL_LIBRARIES}") ei_add_test(eigensolver_selfadjoint " " "${GSL_LIBRARIES}") ei_add_test(eigensolver_generic " " "${GSL_LIBRARIES}") ei_add_test(eigensolver_complex) +ei_add_test(upperbidiagonalization) ei_add_test(svd) ei_add_test(jacobisvd) ei_add_test(geo_orthomethods) diff --git a/test/householder.cpp b/test/householder.cpp index 85492cdff..4e4c78863 100644 --- a/test/householder.cpp +++ b/test/householder.cpp @@ -79,7 +79,7 @@ template<typename MatrixType> void householder(const MatrixType& m) m3.rowwise() = v1.transpose(); m4 = m3; m3.row(0).makeHouseholder(essential, beta, alpha); - m3.applyHouseholderOnTheRight(essential.transpose(),beta,tmp); + m3.applyHouseholderOnTheRight(essential,beta,tmp); VERIFY_IS_APPROX(m3.norm(), m4.norm()); VERIFY_IS_MUCH_SMALLER_THAN(m3.block(0,1,rows,rows-1).norm(), m3.norm()); VERIFY_IS_MUCH_SMALLER_THAN(ei_imag(m3(0,0)), ei_real(m3(0,0))); diff --git a/test/qr.cpp b/test/qr.cpp index 3848ce0a5..7a808d049 100644 --- a/test/qr.cpp +++ b/test/qr.cpp @@ -114,7 +114,7 @@ template<typename MatrixType> void qr_verify_assert() void test_qr() { - for(int i = 0; i < 1; i++) { + for(int i = 0; i < g_repeat; i++) { CALL_SUBTEST_1( qr(MatrixXf(47,40)) ); CALL_SUBTEST_2( qr(MatrixXcd(17,7)) ); CALL_SUBTEST_3(( qr_fixedsize<Matrix<float,3,4>, 2 >() )); |