aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/superlu_support.cpp
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-03-29 14:32:54 +0200
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-03-29 14:32:54 +0200
commitf804a319c81cb1629abb9bdc97dd74a2d2dec3d7 (patch)
tree5d59101e9f756ed2cc02ae6047dcaaf8a67dbfe4 /test/superlu_support.cpp
parentada9e791450618d1d608db11fcdd97adde824cbe (diff)
modify the unit tests of sparse linear solvers to enable tests on real matrices, from MatrixMarket for instance
Diffstat (limited to 'test/superlu_support.cpp')
-rw-r--r--test/superlu_support.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/superlu_support.cpp b/test/superlu_support.cpp
index dbabaf2e1..ad435943b 100644
--- a/test/superlu_support.cpp
+++ b/test/superlu_support.cpp
@@ -28,12 +28,10 @@
void test_superlu_support()
{
- for(int i = 0; i < g_repeat; i++) {
- SuperLU<SparseMatrix<double> > superlu_double_colmajor;
- SuperLU<SparseMatrix<std::complex<double> > > superlu_cplxdouble_colmajor;
- CALL_SUBTEST_1( check_sparse_square_solving(superlu_double_colmajor) );
- CALL_SUBTEST_2( check_sparse_square_solving(superlu_cplxdouble_colmajor) );
- CALL_SUBTEST_1( check_sparse_square_determinant(superlu_double_colmajor) );
- CALL_SUBTEST_2( check_sparse_square_determinant(superlu_cplxdouble_colmajor) );
- }
+ SuperLU<SparseMatrix<double> > superlu_double_colmajor;
+ SuperLU<SparseMatrix<std::complex<double> > > superlu_cplxdouble_colmajor;
+ CALL_SUBTEST_1( check_sparse_square_solving(superlu_double_colmajor) );
+ CALL_SUBTEST_2( check_sparse_square_solving(superlu_cplxdouble_colmajor) );
+ CALL_SUBTEST_1( check_sparse_square_determinant(superlu_double_colmajor) );
+ CALL_SUBTEST_2( check_sparse_square_determinant(superlu_cplxdouble_colmajor) );
}