Skip to content

Commit

Permalink
📚 documentation structure update
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Mar 14, 2017
1 parent 181a12a commit 0b0042e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 0 additions & 5 deletions docs/src/lib/internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
3 changes: 3 additions & 0 deletions src/checks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion test/make_parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 0b0042e

Please sign in to comment.