Skip to content

Commit a070ab6

Browse files
Fix abstol and reltol extraction
1 parent 8e72246 commit a070ab6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/time_evolution/sesolve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function sesolve(prob::TimeEvolutionProblem, alg::OrdinaryDiffEqAlgorithm = Tsit
189189
sol.prob.p.expvals,
190190
sol.retcode,
191191
sol.alg,
192-
sol.prob.kwargs[:abstol],
193-
sol.prob.kwargs[:reltol],
192+
NamedTuple(sol.prob.kwargs).abstol,
193+
NamedTuple(sol.prob.kwargs).reltol,
194194
)
195195
end

src/time_evolution/time_evolution.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ A structure storing the results and some information from solving time evolution
4545
struct TimeEvolutionSol{
4646
TT<:AbstractVector{<:Real},
4747
TS<:AbstractVector,
48-
TE<:Matrix,
48+
TE<:AbstractMatrix,
4949
RETT<:Enum,
5050
AlgT<:OrdinaryDiffEqAlgorithm,
5151
AT<:Real,

0 commit comments

Comments
 (0)