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
@@ -11,17 +11,16 @@
|
||||
#include "../../test/sparse_solver.h"
|
||||
#include <Eigen/IterativeSolvers>
|
||||
|
||||
template<typename T> void test_idrs_T()
|
||||
{
|
||||
template <typename T>
|
||||
void test_idrs_T() {
|
||||
IDRS<SparseMatrix<T>, DiagonalPreconditioner<T> > idrs_colmajor_diag;
|
||||
IDRS<SparseMatrix<T>, IncompleteLUT<T> > idrs_colmajor_ilut;
|
||||
IDRS<SparseMatrix<T>, IncompleteLUT<T> > idrs_colmajor_ilut;
|
||||
|
||||
CALL_SUBTEST( check_sparse_square_solving(idrs_colmajor_diag) );
|
||||
CALL_SUBTEST( check_sparse_square_solving(idrs_colmajor_ilut) );
|
||||
CALL_SUBTEST(check_sparse_square_solving(idrs_colmajor_diag));
|
||||
CALL_SUBTEST(check_sparse_square_solving(idrs_colmajor_ilut));
|
||||
}
|
||||
|
||||
EIGEN_DECLARE_TEST(idrs)
|
||||
{
|
||||
EIGEN_DECLARE_TEST(idrs) {
|
||||
CALL_SUBTEST_1(test_idrs_T<double>());
|
||||
CALL_SUBTEST_2(test_idrs_T<std::complex<double> >());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user