Skip to content

Commit 994767a

Browse files
committed
history_function.jl corrected
1 parent ffeb401 commit 994767a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/history_function.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function (f::HistoryFunction)(p, t, ::Type{Val{deriv}}=Val{0}; idxs=nothing) whe
4848

4949
if integrator.t == sol.prob.tspan[1]
5050
# handle extrapolations at initial time point
51-
return DelayDiffEq.constant_extrapolant(t, integrator, idxs, Val{deriv})
51+
return constant_extrapolant(t, integrator, idxs, Val{deriv})
5252
#TODO only difference form DelayDiffEq here
5353
else
5454
return StochasticDiffEq.current_interpolant(t, integrator, idxs, Val{deriv})
@@ -87,7 +87,7 @@ function (f::HistoryFunction)(val, p, t, ::Type{Val{deriv}}=Val{0}; idxs=nothing
8787

8888
if integrator.t == sol.prob.tspan[1]
8989
# handle extrapolations at initial time point
90-
return DelayDiffEq.constant_extrapolant!(val, t, integrator, idxs, Val{deriv})
90+
return constant_extrapolant!(val, t, integrator, idxs, Val{deriv})
9191
else
9292
return StochasticDiffEq.current_interpolant!(val, t, integrator, idxs, Val{deriv})
9393
#TODO only difference form DelayDiffEq here

0 commit comments

Comments
 (0)