Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
apkille committed Jul 25, 2024
1 parent 2ba5e82 commit 08ac108
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/test_operators_sparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,6 @@ op3 = sprandop(FockBasis(1),FockBasis(2))
op_ = copy(op1)
op_ .+= op1
@test op_ == 2*op1
@test_throws ErrorException cos.(op_)

# Dimension mismatches
b1, b2, b3 = NLevelBasis.((2,3,4)) # N is not a type parameter
Expand Down
2 changes: 0 additions & 2 deletions test/test_superoperators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@ Ldense .+= Ldense
Ldense .+= L
@test isa(Ldense, DenseSuperOpType)
@test isapprox(Ldense.data, 5*Ldense_.data)
@test_throws ErrorException cos.(Ldense)
@test_throws ErrorException cos.(L)

b = FockBasis(20)
L = liouvillian(identityoperator(b), [destroy(b)])
Expand Down

0 comments on commit 08ac108

Please sign in to comment.