Skip to content

Commit

Permalink
Fix CG test
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-levitt committed Feb 2, 2024
1 parent 19834db commit 27a96a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
res = DFTK.cg(A, b; tol, maxiter=2n)

# test convergence
@test norm(A*res.x - b) tol
@test norm(A*res.x - b) 2tol
@test res.converged

# test type stability
Expand Down

0 comments on commit 27a96a5

Please sign in to comment.