Skip to content

Commit 64ec086

Browse files
committed
minor changes
1 parent 2ee9138 commit 64ec086

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/core-test/quantum_objects_evo.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,8 @@
213213
@test_throws ArgumentError cache_operator(L_td, ψ)
214214

215215
@testset "Type Inference" begin
216-
H_td2 = H_td + QobjEvo(a + a', coef3)
217-
218216
# we use destroy and create here because they somehow causes type instability before
217+
H_td2 = H_td + QobjEvo(destroy(N) + create(N), coef3)
219218
c_ops1 = (destroy(N), create(N))
220219
c_ops2 = (destroy(N), QobjEvo(create(N), coef1))
221220

0 commit comments

Comments
 (0)