Skip to content

Commit 27a96a5

Browse files
Fix CG test
1 parent 19834db commit 27a96a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
res = DFTK.cg(A, b; tol, maxiter=2n)
1515

1616
# test convergence
17-
@test norm(A*res.x - b) tol
17+
@test norm(A*res.x - b) 2tol
1818
@test res.converged
1919

2020
# test type stability

0 commit comments

Comments
 (0)