Skip to content

Commit b46cb2e

Browse files
Merge pull request #50 from SciML/ChrisRackauckas-patch-2
namespace add_tstop!
2 parents 1d6bdcb + aeef985 commit b46cb2e

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)