Clang-format tests, examples, libraries, benchmarks, etc.

This commit is contained in:
Antonio Sánchez
2023-12-05 21:22:55 +00:00
committed by Rasmus Munk Larsen
parent 3252ecc7a4
commit 46e9cdb7fe
876 changed files with 33453 additions and 37795 deletions

View File

@@ -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>()));
}