@@ -369,12 +369,14 @@ function (sol::AbstractODESolution)(t::AbstractVector{<:Number}, ::Type{deriv},
369369 return DiffEqArray (u, t, p, sol; discretes)
370370end
371371
372- function (sol:: AbstractODESolution )(v:: AbstractArray , t:: AbstractVector{<:Number} , :: Type{deriv} ,
373- idxs:: Union{Nothing, Integer, AbstractArray{<:Integer}} , continuity) where {deriv}
372+ function (sol:: AbstractODESolution )(
373+ v:: AbstractArray , t:: AbstractVector{<:Number} , :: Type{deriv} ,
374+ idxs:: Union{Nothing, Integer, AbstractArray{<:Integer}} , continuity) where {deriv}
374375 return sol. interp (v, t, idxs, deriv, sol. prob. p, continuity)
375376end
376- function (sol:: AbstractODESolution )(v:: AbstractArray , t:: AbstractVector{<:Number} , :: Type{deriv} , idxs,
377- continuity) where {deriv}
377+ function (sol:: AbstractODESolution )(
378+ v:: AbstractArray , t:: AbstractVector{<:Number} , :: Type{deriv} , idxs,
379+ continuity) where {deriv}
378380 symbolic_type (idxs) == NotSymbolic () && error (" Incorrect specification of `idxs`" )
379381 error_if_observed_derivative (sol, idxs, deriv)
380382 p = hasproperty (sol. prob, :p ) ? sol. prob. p : nothing
@@ -389,8 +391,9 @@ function (sol::AbstractODESolution)(v::AbstractArray, t::AbstractVector{<:Number
389391 end
390392 error (" In-place interpolation with discretes is not implemented." )
391393end
392- function (sol:: AbstractODESolution )(v:: AbstractArray , t:: AbstractVector{<:Number} , :: Type{deriv} ,
393- idxs:: AbstractVector , continuity) where {deriv}
394+ function (sol:: AbstractODESolution )(
395+ v:: AbstractArray , t:: AbstractVector{<:Number} , :: Type{deriv} ,
396+ idxs:: AbstractVector , continuity) where {deriv}
394397 if symbolic_type (idxs) == NotSymbolic () && isempty (idxs)
395398 return map (_ -> eltype (eltype (sol. u))[], t)
396399 end
0 commit comments