aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--unsupported/test/gmres.cpp6
-rw-r--r--unsupported/test/minres.cpp12
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<typename T> void test_gmres_T()
void test_gmres()
{
- for(int i = 0; i < g_repeat; i++) {
- CALL_SUBTEST_1(test_gmres_T<double>());
- CALL_SUBTEST_2(test_gmres_T<std::complex<double> >());
- }
+ CALL_SUBTEST_1(test_gmres_T<double>());
+ CALL_SUBTEST_2(test_gmres_T<std::complex<double> >());
}
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> >());
}