From 77f92bf0b1e9dda872c3844c368f97fa5644a4e4 Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Tue, 9 Oct 2012 13:30:48 +0200 Subject: [PATCH] the repeated solves are already present in check_sparse_solving() --- unsupported/test/gmres.cpp | 6 ++---- unsupported/test/minres.cpp | 12 +++++------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/unsupported/test/gmres.cpp b/unsupported/test/gmres.cpp index 647c16927..f2969116b 100644 --- a/unsupported/test/gmres.cpp +++ b/unsupported/test/gmres.cpp @@ -26,8 +26,6 @@ template void test_gmres_T() void test_gmres() { - for(int i = 0; i < g_repeat; i++) { - CALL_SUBTEST_1(test_gmres_T()); - CALL_SUBTEST_2(test_gmres_T >()); - } + CALL_SUBTEST_1(test_gmres_T()); + CALL_SUBTEST_2(test_gmres_T >()); } diff --git a/unsupported/test/minres.cpp b/unsupported/test/minres.cpp index eb187d445..46eb2f0dc 100644 --- a/unsupported/test/minres.cpp +++ b/unsupported/test/minres.cpp @@ -13,21 +13,19 @@ template void test_minres_T() { -// MINRES, Lower, DiagonalPreconditioner > minres_colmajor_diag; + MINRES, Lower, DiagonalPreconditioner > minres_colmajor_diag; MINRES, Lower, IdentityPreconditioner > minres_colmajor_I; // MINRES, Lower, IncompleteLUT > minres_colmajor_ilut; //minres, SSORPreconditioner > minres_colmajor_ssor; -// CALL_SUBTEST( check_sparse_square_solving(minres_colmajor_diag) ); - CALL_SUBTEST( check_sparse_spd_solving(minres_colmajor_I) ); + CALL_SUBTEST( check_sparse_square_solving(minres_colmajor_diag) ); + CALL_SUBTEST( check_sparse_spd_solving(minres_colmajor_I) ); // CALL_SUBTEST( check_sparse_square_solving(minres_colmajor_ilut) ); //CALL_SUBTEST( check_sparse_square_solving(minres_colmajor_ssor) ); } void test_minres() { - for(int i = 0; i < g_repeat; i++) { - CALL_SUBTEST_1(test_minres_T()); - // CALL_SUBTEST_2(test_minres_T >()); - } + CALL_SUBTEST_1(test_minres_T()); +// CALL_SUBTEST_2(test_minres_T >()); }