Skip to content

Commit a165c34

Browse files
Update src/solutions/ode_solutions.jl
1 parent 7d9bf90 commit a165c34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/solutions/ode_solutions.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ function sensitivity_solution(sol::ODESolution, u, t)
399399
end
400400

401401
interp = enable_interpolation_sensitivitymode(sol.interp)
402-
ODESolution{T, N}(u, sol.u_analytic, sol.errors, collect(t),
402+
ODESolution{T, N}(u, sol.u_analytic, sol.errors,
403+
t isa Vector ? t : collect(t),
403404
sol.k, sol.prob,
404405
sol.alg, interp,
405406
sol.dense, sol.tslocation,

0 commit comments

Comments
 (0)