Inform user when swarm is initialized outside of domain
mountaindust opened this issue · 0 comments
mountaindust commented
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...