diff --git a/mesa/examples/basic/schelling/agents.py b/mesa/examples/basic/schelling/agents.py index 15308321529..326f15493bd 100644 --- a/mesa/examples/basic/schelling/agents.py +++ b/mesa/examples/basic/schelling/agents.py @@ -19,7 +19,6 @@ def step(self) -> None: self.pos, moore=True, radius=self.model.radius ) - # Count similar neighbors similar_neighbors = len([n for n in neighbors if n.type == self.type])