Skip to content

Commit

Permalink
update the multigrid preconditioner usage in test/mpi/solver
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Dec 4, 2024
1 parent 71009b2 commit 1308825
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/mpi/solver/solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ struct CgWithMg : SimpleSolverTest<gko::solver::Cg<solver_value_type>> {
16u) // necessary since the test matrices have less
// rows than the default value
.with_criteria(
gko::stop::Iteration::build().with_max_iters(
iteration_count()),
gko::stop::ResidualNorm<value_type>::build()
.with_baseline(gko::stop::mode::absolute)
.with_reduction_factor(2 * reduction_factor())));
gko::stop::Iteration::build().with_max_iters(1u)));
}

static bool blacklisted(const std::string& test)
Expand Down

0 comments on commit 1308825

Please sign in to comment.