diff options
author | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2012-03-29 14:32:54 +0200 |
---|---|---|
committer | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2012-03-29 14:32:54 +0200 |
commit | f804a319c81cb1629abb9bdc97dd74a2d2dec3d7 (patch) | |
tree | 5d59101e9f756ed2cc02ae6047dcaaf8a67dbfe4 /test/umfpack_support.cpp | |
parent | ada9e791450618d1d608db11fcdd97adde824cbe (diff) |
modify the unit tests of sparse linear solvers to enable tests on real matrices, from MatrixMarket for instance
Diffstat (limited to 'test/umfpack_support.cpp')
-rw-r--r-- | test/umfpack_support.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/test/umfpack_support.cpp b/test/umfpack_support.cpp index 6e459a922..f900e92c6 100644 --- a/test/umfpack_support.cpp +++ b/test/umfpack_support.cpp @@ -28,12 +28,10 @@ void test_umfpack_support() { - for(int i = 0; i < g_repeat; i++) { - UmfPackLU<SparseMatrix<double> > umfpack_double_colmajor; - UmfPackLU<SparseMatrix<std::complex<double> > > umfpack_cplxdouble_colmajor; - CALL_SUBTEST_1(check_sparse_square_solving(umfpack_double_colmajor)); - CALL_SUBTEST_2(check_sparse_square_solving(umfpack_cplxdouble_colmajor)); - CALL_SUBTEST_1(check_sparse_square_determinant(umfpack_double_colmajor)); - CALL_SUBTEST_2(check_sparse_square_determinant(umfpack_cplxdouble_colmajor)); - } + UmfPackLU<SparseMatrix<double, ColMajor> > umfpack_double_colmajor; + UmfPackLU<SparseMatrix<std::complex<double> > > umfpack_cplxdouble_colmajor; + CALL_SUBTEST_1(check_sparse_square_solving(umfpack_double_colmajor)); + CALL_SUBTEST_2(check_sparse_square_solving(umfpack_cplxdouble_colmajor)); + CALL_SUBTEST_1(check_sparse_square_determinant(umfpack_double_colmajor)); + CALL_SUBTEST_2(check_sparse_square_determinant(umfpack_cplxdouble_colmajor)); } |