diff --git a/docs/src/lib/internals.md b/docs/src/lib/internals.md index 5b2334f..a415a81 100644 --- a/docs/src/lib/internals.md +++ b/docs/src/lib/internals.md @@ -28,11 +28,6 @@ check_food_web ## ODE wrappers and functions for integration ```@docs -wrap_ode23 -wrap_ode23s -wrap_ode45 -wrap_ode78 -wrap_ode dBdt growthrate ``` diff --git a/src/checks.jl b/src/checks.jl index e06a5a5..bbe4ef7 100644 --- a/src/checks.jl +++ b/src/checks.jl @@ -12,6 +12,9 @@ function check_food_web(A) @assert sum(map(x -> x ∉ [0 1], A)) == 0 end +""" +**Check initial parameters** +""" function check_initial_parameters(p) required_keys = [ :Z, diff --git a/test/make_parameters.jl b/test/make_parameters.jl index 0c9920b..e97515e 100644 --- a/test/make_parameters.jl +++ b/test/make_parameters.jl @@ -36,7 +36,7 @@ module TestMakeParameters wrong_bs = rand(100) @test_throws ErrorException model_parameters(correct_network, bodymass=wrong_bs) - # Test that there the vertebrates can be passed + # Test that there the bodymasses can be passed right_bs = rand(4) p = model_parameters(correct_network, bodymass=right_bs) @test right_bs == p[:bodymass]