Skip to content

Commit f047602

Browse files
authored
Bump tolerance a bit in stressful test of eigs on matrix with many (#23124)
repeated eigenvalues. Should make #23068 unnecessary
1 parent 4dd7551 commit f047602

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/linalg/arnoldi.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,10 @@ let
157157
@test numiter2 < numiter
158158
@test v v2
159159

160-
@test eigs(speye(50), nev=10)[1] ones(10) #Issue 4246
160+
# Adjust the tolerance a bit since matrices with repeated eigenvalues
161+
# can be very stressful to ARPACK and this may therefore fail with
162+
# info = 3 if the tolerance is too small
163+
@test eigs(speye(50), nev=10, tol = 5e-16)[1] ones(10) #Issue 4246
161164
end
162165

163166
@testset "real svds" begin

0 commit comments

Comments
 (0)