Skip to content

Commit 2589e26

Browse files
committed
🧪 Test Lanczos() for AssertionError
1 parent dc5a498 commit 2589e26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎test/core-test/correlations_and_spectrum.jl‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
@test last(outlines) == "spectrum(): Consider increasing maxiter and/or tol"
5151
end
5252

53+
@testset "Orthogonal input vectors Lanczos" begin
54+
@test_throws AssertionError spectrum(H, ω_l2, [c_ops[1]], a', a; solver = Lanczos())
55+
end
56+
5357
# tlist and τlist checks
5458
t_fft_wrong = [0, 1, 10]
5559
t_wrong1 = [1, 2, 3]

0 commit comments

Comments
 (0)