I made a few small changes, including bug fixes, due to reader feedback. The changes are listed in the footnotes. Make sure you are using the newest code.
Spencer Pearson noticed a bug that increased the variance by letting only half of the animals reproduce and causing the other half to reproduce twice. I have fixed it.
Announcement
I made a few small changes, including bug fixes, due to reader feedback. The changes are listed in the footnotes. Make sure you are using the newest code.
Announcement
I fixed another bug. If you’re running the code locally, pull from GitLab so herbivore roaming works properly.
Announcement
Spencer Pearson noticed a bug that increased the variance by letting only half of the animals reproduce and causing the other half to reproduce twice. I have fixed it.