Skip to content

Commit

Permalink
Re-expose Internals extinction_callback.
Browse files Browse the repository at this point in the history
  • Loading branch information
iago-lito committed Feb 20, 2024
1 parent fdec42a commit ce7d129
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/methods/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@
simulate(model, u0; kwargs...) = Internals.simulate(model, u0; kwargs...)
@method simulate depends(FunctionalResponse, ProducerGrowth, Metabolism, Mortality)
export simulate

# Re-expose from internals so it works with the new API.
extinction_callback(m, thr; verbose=false) = Internals.ExtinctionCallback(thr, m, verbose)
@method extinction_callback depends(FunctionalResponse, ProducerGrowth, Metabolism, Mortality)
export extinction_callback

0 comments on commit ce7d129

Please sign in to comment.