mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clang-format tests, examples, libraries, benchmarks, etc.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
3252ecc7a4
commit
46e9cdb7fe
@@ -12,23 +12,21 @@
|
||||
|
||||
#include <Eigen/UmfPackSupport>
|
||||
|
||||
template<typename T1, typename T2> void test_umfpack_support_T()
|
||||
{
|
||||
template <typename T1, typename T2>
|
||||
void test_umfpack_support_T() {
|
||||
UmfPackLU<SparseMatrix<T1, ColMajor, T2> > umfpack_colmajor;
|
||||
UmfPackLU<SparseMatrix<T1, RowMajor, T2> > umfpack_rowmajor;
|
||||
|
||||
|
||||
check_sparse_square_solving(umfpack_colmajor);
|
||||
check_sparse_square_solving(umfpack_rowmajor);
|
||||
|
||||
|
||||
check_sparse_square_determinant(umfpack_colmajor);
|
||||
check_sparse_square_determinant(umfpack_rowmajor);
|
||||
}
|
||||
|
||||
EIGEN_DECLARE_TEST(umfpack_support)
|
||||
{
|
||||
EIGEN_DECLARE_TEST(umfpack_support) {
|
||||
CALL_SUBTEST_1((test_umfpack_support_T<double, int>()));
|
||||
CALL_SUBTEST_2((test_umfpack_support_T<std::complex<double>, int>()));
|
||||
CALL_SUBTEST_3((test_umfpack_support_T<double, long >()));
|
||||
CALL_SUBTEST_3((test_umfpack_support_T<double, long>()));
|
||||
CALL_SUBTEST_4((test_umfpack_support_T<std::complex<double>, long>()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user