Skip to content

Commit a39687c

Browse files
committed
try to fix QobjEvo in SciMLOperators v1
1 parent 8280b91 commit a39687c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ OrdinaryDiffEqTsit5 = "1"
6161
Pkg = "1"
6262
Random = "1"
6363
SciMLBase = "2"
64-
SciMLOperators = "0.3 - 1"
64+
SciMLOperators = "1"
6565
SparseArrays = "1"
6666
SpecialFunctions = "2"
6767
StaticArraysCore = "1"

src/qobj/quantum_object_evo.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,8 @@ function (A::QuantumObjectEvolution)(
512512
)
513513
end
514514

515-
A.data(ψout.data, ψin.data, p, t)
515+
# We put `nothing` in the place of `u` because the time-dependence doesn't depend on the state
516+
A.data(ψout.data, ψin.data, nothing, p, t)
516517

517518
return ψout
518519
end

0 commit comments

Comments
 (0)