diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-06-05 14:32:26 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-06-05 14:32:26 +0200 |
commit | b685660b228577045ac4d950d1f860cc4005c17b (patch) | |
tree | 0321a69d0a06c4de8b1a5e0f7429db16391e5e58 /test/bicgstab.cpp | |
parent | 8bc26562f4bafd2ae7b10c778890577c63e3a39a (diff) |
Do go to full accuracy when testing BiCGSTAB.
Diffstat (limited to 'test/bicgstab.cpp')
-rw-r--r-- | test/bicgstab.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/bicgstab.cpp b/test/bicgstab.cpp index 7a9a11330..4cc0dd31c 100644 --- a/test/bicgstab.cpp +++ b/test/bicgstab.cpp @@ -17,6 +17,9 @@ template<typename T, typename I> void test_bicgstab_T() BiCGSTAB<SparseMatrix<T,0,I>, IncompleteLUT<T,I> > bicgstab_colmajor_ilut; //BiCGSTAB<SparseMatrix<T>, SSORPreconditioner<T> > bicgstab_colmajor_ssor; + bicgstab_colmajor_diag.setTolerance(NumTraits<T>::epsilon()*4); + bicgstab_colmajor_ilut.setTolerance(NumTraits<T>::epsilon()*4); + CALL_SUBTEST( check_sparse_square_solving(bicgstab_colmajor_diag) ); // CALL_SUBTEST( check_sparse_square_solving(bicgstab_colmajor_I) ); CALL_SUBTEST( check_sparse_square_solving(bicgstab_colmajor_ilut) ); |