Browse Source

Explicit number of iterations in BoomerAMG test

This was needed on some platforms
pull/38/head
Olav Møyner 2 months ago
parent
commit
5dd46b89c2
  1. 2
      test/runtests.jl

2
test/runtests.jl

@ -420,7 +420,7 @@ end
x_h = HYPREVector(b, ilower, iupper) x_h = HYPREVector(b, ilower, iupper)
# Solve # Solve
tol = 1.0e-9 tol = 1.0e-9
amg = HYPRE.BoomerAMG(; Tol = tol) amg = HYPRE.BoomerAMG(; Tol = tol, MaxIter = 25)
HYPRE.solve!(amg, x_h, A_h, b_h) HYPRE.solve!(amg, x_h, A_h, b_h)
copy!(x, x_h) copy!(x, x_h)
@test (A * x b) atol = tol * norm(b) # default BoomerAMG criteria @test (A * x b) atol = tol * norm(b) # default BoomerAMG criteria

Loading…
Cancel
Save