Skip to content

Inform user when swarm is initialized outside of domain #46

Description

@mountaindust

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...

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions