aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/minres.cpp
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-10-09 13:30:48 +0200
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-10-09 13:30:48 +0200
commit77f92bf0b1e9dda872c3844c368f97fa5644a4e4 (patch)
treee368229a2c45f9a4f2219a33bd4fb6e3c8a44a21 /unsupported/test/minres.cpp
parentf75703400174d7a019037cb6803b8f4ce3f3eeb0 (diff)
the repeated solves are already present in check_sparse_solving()
Diffstat (limited to 'unsupported/test/minres.cpp')
-rw-r--r--unsupported/test/minres.cpp12
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> >());
}