Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nichemodel function generates too many links #61

Closed
szefer-piotr opened this issue Nov 20, 2018 · 0 comments
Closed

nichemodel function generates too many links #61

szefer-piotr opened this issue Nov 20, 2018 · 0 comments
Labels
Milestone

Comments

@szefer-piotr
Copy link

Expected behavior

  • nichemodel(85, 227) should produce networks with average number of links equal to 227

Actual behavior

  • average number of links is ~ 2 * 227

Steps to reproduce

using EcologicalNetworks

mean_link = []
for iter in range(1,10000)
    sm = sum(nichemodel(85, 227))
    push!(mean_link, sm)
end
println(mean(mean_link))
@evadelmas evadelmas added the bug label Mar 6, 2019
@evadelmas evadelmas added this to the v1.1.0 milestone Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants