diff options
Diffstat (limited to 'unsupported/test/minres.cpp')
-rw-r--r-- | unsupported/test/minres.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
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<typename T> void test_minres_T() { -// MINRES<SparseMatrix<T>, Lower, DiagonalPreconditioner<T> > minres_colmajor_diag; + MINRES<SparseMatrix<T>, Lower, DiagonalPreconditioner<T> > minres_colmajor_diag; MINRES<SparseMatrix<T>, Lower, IdentityPreconditioner > minres_colmajor_I; // MINRES<SparseMatrix<T>, Lower, IncompleteLUT<T> > minres_colmajor_ilut; //minres<SparseMatrix<T>, SSORPreconditioner<T> > 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<double>()); - // CALL_SUBTEST_2(test_minres_T<std::complex<double> >()); - } + CALL_SUBTEST_1(test_minres_T<double>()); +// CALL_SUBTEST_2(test_minres_T<std::complex<double> >()); } |