Skip to content

Commit 3e5ebd1

Browse files
authored
schelling_experimental: Remove temporary _advance_time() method (#162)
Remove the remove temporary _advance_time() method from schelling_experimental. This isn't needed anymore, because in Mesa 3.0 time will be automatically increased.
1 parent 2bc3a2d commit 3e5ebd1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/schelling_experimental/model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ def step(self):
6666
"""
6767
self.happy = 0 # Reset counter of happy agents
6868
self.agents.shuffle().do("step")
69-
# Must be before data collection.
70-
self._advance_time() # Temporary API; will be finalized by Mesa 3.0 release
7169
# collect data
7270
self.datacollector.collect(self)
7371

0 commit comments

Comments
 (0)