Skip to content

Commit

Permalink
Fix test again
Browse files Browse the repository at this point in the history
  • Loading branch information
david-pl authored Feb 24, 2024
1 parent c15d60b commit 897cdaf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test_numeric_conversion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,11 @@ eqs_sc = scale(eqs_c)
@test_throws ArgumentError initial_values(eqs_sc, ψ)

u0 = initial_values(eqs_sc, ψ; ranges=ranges)
@test u0 initial_values(eqs_sc, ψlazy; ranges=ranges)

if isdefined(QuantumOpticsBase, :LazyKet)
ψlazy = LazyKet(b, (ψc, (ψa for i=1:order)...,))
@test u0 initial_values(eqs_sc, ψlazy; ranges=ranges)
end

N_ = 2e5
Γ_ = 1.0 #Γ=1mHz
Expand Down

0 comments on commit 897cdaf

Please sign in to comment.