Hello,
I have inherited some code to solve ODE and there is a line containing:
julia> make_callback(t, v) = PresetTimeCallback([t], (i) -> ( i.u[end] += v))
make_callback (generic function with 1 method)
julia> no_affect!(integrator) = nothing
no_affect! (generic function with 1 method)
julia> condition_1(u, t, integrator) = u[1]-1
condition_1 (generic function with 1 method)
julia> affect_1!(integrator) = integrator.u[1] = 0.0
affect_1! (generic function with 1 method)
julia> ContinuousCallback(condition_1, no_affect!, affect_1!,
rootfind = DiffEqBase.NoRootFind)
ERROR: UndefVarError: NoRootFind not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:31
[2] top-level scope
@ none:1
I have loaded using DifferentialEquations, DiffEqBase
but, given the error, it is probably not enough.
What package contains NoRootFind?
Thank you