What is DiffEqBase.NoRootFind?

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
 [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

SciMLBase.NoRootFind, as mentioned in the documentation.


But you probably shouldn’t be using that in most cases. In most cases, if you’re disabling rootfinding then you probably want to be using a DiscreteCallback.

which is what i was using before. Thank you, I’ll try to fix the code. Cheers