diff --git a/src/callbacks.jl b/src/callbacks.jl index 880812ac3..539057f83 100644 --- a/src/callbacks.jl +++ b/src/callbacks.jl @@ -1,7 +1,10 @@ # Necessary to have initialize set u_modified to false if all don't do anything # otherwise unnecessary save -INITIALIZE_DEFAULT(cb,u,t,integrator) = u_modified!(integrator, false) -FINALIZE_DEFAULT(cb,u,t,integrator) = nothing +initialize!(cb,u,t,integrator) = u_modified!(integrator, false) +finalize!(cb,u,t,integrator) = nothing + +const INITIALIZE_DEFAULT = initialize! +const FINALIZE_DEFAULT = finalize! """