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 typechecking empty list #108

Closed colinhanrahan closed 1 month ago

colinhanrahan commented 1 month ago

There are a few config settings that can be empty lists, like environmentStartingQuadrants and environment*Peaks. Checking the type of the first element causes a break.