Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMarchand20 committed Jul 18, 2024
1 parent d3563fc commit 276b794
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/functional_tests/solvers/test_solver_ddm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ int test_solver_ddm(int argc, char *argv[], int mu, char data_symmetry, char sym
std::cout << "Creating generators" << std::endl;
Matrix<complex<double>> A;
A.bytes_to_matrix(datapath + "/matrix.bin");
GeneratorFromMatrix<std::complex<double>> Generator(A, target_cluster.get_permutation(), target_cluster.get_permutation());
GeneratorInUserNumberingFromMatrix<std::complex<double>> Generator(A);
int n = A.nb_rows();

// Right-hand side
Expand Down Expand Up @@ -111,7 +111,7 @@ int test_solver_ddm(int argc, char *argv[], int mu, char data_symmetry, char sym
// recursive_build_strategy.set_minclustersize(2);
Cluster<double> local_cluster = recursive_build_strategy.create_cluster_tree(local_to_global_numbering.size(), 3, local_geometry.data(), 2, 2, nullptr);

LocalGeneratorFromMatrix<std::complex<double>> local_generator(A, local_cluster.get_permutation(), local_cluster.get_permutation(), local_to_global_numbering, local_to_global_numbering);
LocalGeneratorInUserNumberingFromMatrix<std::complex<double>> local_generator(A, local_to_global_numbering, local_to_global_numbering);

HMatrixTreeBuilder<std::complex<double>, double> local_hmatrix_builder(local_cluster, local_cluster, epsilon, eta, symmetric, UPLO, -1, -1, -1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int test_solver_ddm_adding_overlap(int argc, char *argv[], int mu, char data_sym
std::cout << "Creating generators" << std::endl;
Matrix<complex<double>> A;
A.bytes_to_matrix(datapath + "/matrix.bin");
GeneratorFromMatrix<std::complex<double>> Generator(A, target_cluster.get_permutation(), target_cluster.get_permutation());
GeneratorInUserNumberingFromMatrix<std::complex<double>> Generator(A);
int n = A.nb_rows();

// Right-hand side
Expand Down
2 changes: 1 addition & 1 deletion tests/functional_tests/solvers/test_solver_wo_overlap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int test_solver_wo_overlap(int argc, char *argv[], int mu, char symmetric, std::
std::cout << "Creating generators" << std::endl;
Matrix<complex<double>> A;
A.bytes_to_matrix(datapath + "/matrix.bin");
GeneratorFromMatrix<std::complex<double>> Generator(A, target_cluster.get_permutation(), target_cluster.get_permutation());
GeneratorInUserNumberingFromMatrix<std::complex<double>> Generator(A);
int n = A.nb_rows();

// Right-hand side
Expand Down

0 comments on commit 276b794

Please sign in to comment.