Skip to content

Commit 4e4a15c

Browse files
fix: fix solution_slice for ODESolution
1 parent d516d81 commit 4e4a15c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solutions/ode_solutions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ function solution_slice(sol::ODESolution{T, N}, I) where {T, N}
615615
@reset sol.u_analytic = sol.u_analytic === nothing ? nothing : sol.u_analytic[I]
616616
@reset sol.t = sol.t[I]
617617
@reset sol.k = sol.dense ? sol.k[I] : sol.k
618-
return @set sol.alg = false
618+
return @set sol.dense = false
619619
end
620620

621621
mask_discretes(::Nothing, _, _...) = nothing

0 commit comments

Comments
 (0)