Skip to content

Commit 6d17fa3

Browse files
committed
fix test
1 parent 2a5ea95 commit 6d17fa3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/runtests.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ using Test
1111
dQ = (Qf-Qi)/NQ
1212
x = range(Qi, stop = Qf, length = NQ)
1313
ħω = 1
14-
e, v = solve1D_ev_amu(x->harmonic(x, ħω; param = Dict("E0" => 0, "Q0" => 0)), NQ = NQ , Qi = Qi, Qf = Qf, nev = nev)
15-
analytic_sol = UnitRange(0, nev)
14+
e, v = solve1D_ev_amu(x->harmonic(x, ħω,; E₀ = 0, Q₀ = 0), NQ = NQ , Qi = Qi, Qf = Qf, nev = nev)
1615
@test isapprox(e, 0.5 .+ UnitRange(0, nev-1) ; rtol=etol)
1716
end

0 commit comments

Comments
 (0)