mountaindust / Planktos

ABM framework for dispersal modeling
https://planktos.readthedocs.io
GNU General Public License v3.0
5 stars 3 forks source link

Gaussian KDE singular matrix bug still exists #51

Closed mountaindust closed 2 years ago

mountaindust commented 2 years ago

Recently, there was a case of a singular matrix error being raised where two agents appeared left in the domain, and they both had the same y-value (line 3143 in swarm.py).

This KDE stuff is a hot mess and needs to be cleaned up anyway. Suggest using a try-except clause to deal with cases rather than the current approach. And some kind of sub-function encapsulation.

mountaindust commented 2 years ago

Closed as of d25efa14.