Skip to content

Commit

Permalink
time: Remove agent.remove in remove
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Jan 26, 2024
1 parent 8e7754f commit 40dce90
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mesa/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def remove(self, agent: Agent) -> None:
agent: An agent object.
"""
self._agents.remove(agent)
agent.remove()

def step(self) -> None:
"""Execute the step of all the agents, one at a time."""
Expand Down

0 comments on commit 40dce90

Please sign in to comment.