Skip to content

Commit

Permalink
Merge pull request #50 from SciML/ChrisRackauckas-patch-2
Browse files Browse the repository at this point in the history
namespace add_tstop!
  • Loading branch information
ChrisRackauckas committed Jan 7, 2022
2 parents 1d6bdcb + aeef985 commit b46cb2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrators/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ end
DiffEqBase.@.. out = (integrator.u - integrator.uprev) / integrator.dt
end

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

0 comments on commit b46cb2e

Please sign in to comment.