Skip to content

Commit

Permalink
move to zero based indexing for _ids
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Mar 11, 2024
1 parent 4e54add commit 1c86aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesa/experimental/devs/eventlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class SimulationEvent:
"""

_ids = itertools.count(1)
_ids = itertools.count()

@property
def CANCELED(self) -> bool:
Expand Down

0 comments on commit 1c86aca

Please sign in to comment.