Closed laserschwelle closed 2 years ago
If I'm not explicitly referencing DiffEqCallbacks the creation of the callback already fails with: UndefVarError: PresetTimeCallback not defined. Is this behavior intended?
Yes, it needs DiffEqCallbacks.
When I try to solve a SDDE with PresetTimeCallbacks the solver fails with this error message
Looks like it's just a missing method.
Changing this function
https://github.com/SciML/StochasticDelayDiffEq.jl/blob/25524178668e5b40bb74417dfc0773ca03d564ab/src/integrators/interface.jl#L217
DiffEqBase.add_tstop!()
seems to solve the problem.
That looks like it's the right solution. It just wasn't namespaced property to overload.
@ChrisRackauckas sorry to hop on an old method but I'm also having this issue, what is the correct way to use PresetTimeCallback
with the SDDE solvers?
When I try to solve a SDDE with PresetTimeCallbacks the solver fails with this error message: add_tstop!: method has not been implemented for the integrator
Julia Version v1.5.3 StochasticDelayDiffEq v0.2.8 DiffEqCallbacks v2.16.0
Example to reproduce the error:
If I'm not explicitly referencing
DiffEqCallbacks
the creation of the callback already fails with: UndefVarError: PresetTimeCallback not defined. Is this behavior intended? If I'musing DifferentialEquations
I get the same add_tstop!-error as above.Thank you!