Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
oameye committed Oct 26, 2024
1 parent 96e3ddb commit fc98d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/krylov.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ res2 = get_steady_states(harmonic_eq2, varied, fixed; show_progress=false, seed=
subs = Dict(u1 => 1, v1 => 1, α => 1, F => 1, ω0 => 1, ω => 1)
solk = substitute(eqk, subs)
solh = substitute(eqh, subs)
@test Float64(solk + solh) 0.0 atol=1e-10
@test Float64(solk + solh) 0.0 atol = 1e-10
# ^ different ansatz
end
end
Expand All @@ -74,7 +74,7 @@ res2 = get_steady_states(harmonic_eq2, varied, fixed; show_progress=false, seed=
subs = Dict([u1, v1, α, F, ω0, ω, J] .=> rand(7))
solk = substitute(eqk, subs)
solh = substitute(eqh, subs)
@test Float64(solk + solh) 0.0 atol=1e-10
@test Float64(solk + solh) 0.0 atol = 1e-10
# ^ different ansatz
end
end
Expand Down

0 comments on commit fc98d6d

Please sign in to comment.