Skip to content

Commit e633c5b

Browse files
committed
Restore old in-place interpolation of unspecified and integer idxs
1 parent 0718c98 commit e633c5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/solutions/ode_solutions.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,10 @@ function (sol::AbstractODESolution)(t::AbstractVector{<:Number}, ::Type{deriv},
369369
return DiffEqArray(u, t, p, sol; discretes)
370370
end
371371

372+
function (sol::AbstractODESolution)(v::AbstractArray, t::AbstractVector{<:Number}, ::Type{deriv},
373+
idxs::Union{Nothing, Integer, AbstractArray{<:Integer}}, continuity) where {deriv}
374+
return sol.interp(v, t, idxs, deriv, sol.prob.p, continuity)
375+
end
372376
function (sol::AbstractODESolution)(v::AbstractArray, t::AbstractVector{<:Number}, ::Type{deriv}, idxs,
373377
continuity) where {deriv}
374378
symbolic_type(idxs) == NotSymbolic() && error("Incorrect specification of `idxs`")

0 commit comments

Comments
 (0)