Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: sugarscape G1MT: Remove redundant schedule steps increment
  • Loading branch information
rht committed Jan 24, 2024
commit 4c368c18d2d15767f5981418ca2af780c01d4fb3
4 changes: 0 additions & 4 deletions examples/sugarscape_g1mt/sugarscape_g1mt/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@ def step(self):
for agent in trader_shuffle:
agent.trade_with_neighbors()

self.schedule.steps += (
1 # important for data collector to track number of steps
)

# collect model level data
self.datacollector.collect(self)
"""
Expand Down