aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/bicgstab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/bicgstab.cpp')
-rw-r--r--test/bicgstab.cpp3
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) );