From 40dce90ba1c66889a6eb4b2a9b15da71fe200816 Mon Sep 17 00:00:00 2001 From: rht Date: Thu, 25 Jan 2024 19:27:56 -0500 Subject: [PATCH] time: Remove agent.remove in remove --- mesa/time.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mesa/time.py b/mesa/time.py index 7fd7a3fc60b..3dcd1708f84 100644 --- a/mesa/time.py +++ b/mesa/time.py @@ -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."""