Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang committed Nov 20, 2024
1 parent 2ee9138 commit 64ec086
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/core-test/quantum_objects_evo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,8 @@
@test_throws ArgumentError cache_operator(L_td, ψ)

@testset "Type Inference" begin
H_td2 = H_td + QobjEvo(a + a', coef3)

# we use destroy and create here because they somehow causes type instability before
H_td2 = H_td + QobjEvo(destroy(N) + create(N), coef3)
c_ops1 = (destroy(N), create(N))
c_ops2 = (destroy(N), QobjEvo(create(N), coef1))

Expand Down

0 comments on commit 64ec086

Please sign in to comment.