aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/minres.cpp
diff options
context:
space:
mode:
authorGravatar giacomo po <gpo@ucla.edu>2012-09-27 17:44:54 -0700
committerGravatar giacomo po <gpo@ucla.edu>2012-09-27 17:44:54 -0700
commit01cb88fff8d7f11993c037fa0d8bb7a3d0ff10fb (patch)
tree5821d1eb6a5dcf4fd74f631712a1455375021b96 /unsupported/test/minres.cpp
parentfd0441baee4b8ccbe404b01b1f24a0f90c52ecc9 (diff)
compiling (but failing) unit test
Diffstat (limited to 'unsupported/test/minres.cpp')
-rw-r--r--unsupported/test/minres.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/unsupported/test/minres.cpp b/unsupported/test/minres.cpp
index 46946ca8b..faa799e06 100644
--- a/unsupported/test/minres.cpp
+++ b/unsupported/test/minres.cpp
@@ -13,14 +13,14 @@
template<typename T> void test_minres_T()
{
- minres<SparseMatrix<T>, DiagonalPreconditioner<T> > minres_colmajor_diag;
- minres<SparseMatrix<T>, IdentityPreconditioner > minres_colmajor_I;
- minres<SparseMatrix<T>, IncompleteLUT<T> > minres_colmajor_ilut;
+// 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_square_solving(minres_colmajor_I) );
- CALL_SUBTEST( check_sparse_square_solving(minres_colmajor_ilut) );
+// CALL_SUBTEST( check_sparse_square_solving(minres_colmajor_diag) );
+ CALL_SUBTEST( check_sparse_square_solving(minres_colmajor_I) );
+ // CALL_SUBTEST( check_sparse_square_solving(minres_colmajor_ilut) );
//CALL_SUBTEST( check_sparse_square_solving(minres_colmajor_ssor) );
}
@@ -28,6 +28,6 @@ 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_2(test_minres_T<std::complex<double> >());
}
}