Fix sparselu unit test.

This commit is contained in:
Gael Guennebaud 2015-09-03 13:56:02 +02:00
parent ba9add3c59
commit 769cb99845

View File

@ -41,9 +41,9 @@ template<typename T> void test_sparselu_T()
SparseLU<SparseMatrix<T, ColMajor>, AMDOrdering<int> > sparselu_amd;
SparseLU<SparseMatrix<T, ColMajor, long int>, NaturalOrdering<long int> > sparselu_natural;
check_sparse_square_solving(sparselu_colamd, 300, 100000, true);
check_sparse_square_solving(sparselu_amd, 300, 10000, true);
check_sparse_square_solving(sparselu_natural, 300, 2000, true);
check_sparse_square_solving(sparselu_colamd, true);
check_sparse_square_solving(sparselu_amd, true);
check_sparse_square_solving(sparselu_natural,true);
check_sparse_square_abs_determinant(sparselu_colamd);
check_sparse_square_abs_determinant(sparselu_amd);