nkremerh / sugarscape

Development repository for the Digital Terraria Lab implementation of the Sugarscape agent-based societal simulation.
https://github.com/digital-terraria-lab/sugarscape
MIT License
7 stars 11 forks source link

Fixes break when meanWealth = 1 #103

Closed colinhanrahan closed 1 month ago

colinhanrahan commented 1 month ago

Log base 1 is undefined. In cases of extreme inequality, the meanWealth metric will gradually decrease to 1, causing a break.