mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
modify the unit tests of sparse linear solvers to enable tests on real matrices, from MatrixMarket for instance
This commit is contained in:
@@ -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) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user