We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1be2dec commit 25fadfbCopy full SHA for 25fadfb
examples/basic/schelling/model.py
@@ -96,5 +96,5 @@ def step(self):
96
97
self.datacollector.collect(self)
98
99
- if self.happy == self.schedule.get_agent_count():
+ if self.happy == len(self.agents):
100
self.running = False
0 commit comments