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,21 +12,19 @@
|
||||
|
||||
#include <Eigen/KLUSupport>
|
||||
|
||||
template<typename T> void test_klu_support_T()
|
||||
{
|
||||
template <typename T>
|
||||
void test_klu_support_T() {
|
||||
KLU<SparseMatrix<T, ColMajor> > klu_colmajor;
|
||||
KLU<SparseMatrix<T, RowMajor> > klu_rowmajor;
|
||||
|
||||
|
||||
check_sparse_square_solving(klu_colmajor);
|
||||
check_sparse_square_solving(klu_rowmajor);
|
||||
|
||||
//check_sparse_square_determinant(umfpack_colmajor);
|
||||
//check_sparse_square_determinant(umfpack_rowmajor);
|
||||
|
||||
// check_sparse_square_determinant(umfpack_colmajor);
|
||||
// check_sparse_square_determinant(umfpack_rowmajor);
|
||||
}
|
||||
|
||||
EIGEN_DECLARE_TEST(klu_support)
|
||||
{
|
||||
EIGEN_DECLARE_TEST(klu_support) {
|
||||
CALL_SUBTEST_1(test_klu_support_T<double>());
|
||||
CALL_SUBTEST_2(test_klu_support_T<std::complex<double> >());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user