Skip to content

Commit aeef985

Browse files
namespace add_tstop!
Fixes #38 (comment)
1 parent 1d6bdcb commit aeef985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrators/interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ end
216216
DiffEqBase.@.. out = (integrator.u - integrator.uprev) / integrator.dt
217217
end
218218

219-
@inline function add_tstop!(integrator::SDDEIntegrator,t)
219+
@inline function DiffEqBase.add_tstop!(integrator::SDDEIntegrator,t)
220220
t < integrator.t && error("Tried to add a tstop that is behind the current time. This is strictly forbidden")
221221
push!(integrator.opts.tstops, integrator.tdir * t)
222222
end

0 commit comments

Comments
 (0)