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

Inform user when swarm is initialized outside of domain #46

Open
mountaindust opened this issue Oct 18, 2021 · 0 comments
Open

Inform user when swarm is initialized outside of domain #46

mountaindust opened this issue Oct 18, 2021 · 0 comments

Comments

@mountaindust
Copy link
Owner

Right now, you can run a full simulation with all the agents initialized outside the domain, and no error will be thrown until you try to plot things. When you try to plot, you get a division-by-zero error due to trying to calculate the statistic which tells you which percentage of the agents have left the domain since the simulation began.

This is obviously not ideal...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant