Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed Jan 26, 2021
1 parent 3afcfc4 commit 4a1e156
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 @@ -237,7 +237,7 @@ function StochasticDiffEq.handle_callback_modifiers!(integrator::SDDEIntegrator)

# update heap of discontinuities
# discontinuity is assumed to be of order 0, i.e. solution x is discontinuous
push!(integrator.opts.d_discontinuities, Discontinuity(integrator.tdir * integrator.t, 0))
push!(integrator.opts.d_discontinuities, Discontinuity(integrator.tdir * integrator.t, 0//1))
end

function DiffEqBase.u_modified!(integrator::SDDEIntegrator, bool::Bool)
Expand Down

0 comments on commit 4a1e156

Please sign in to comment.