Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 14, 2024
1 parent 1ab0bdc commit 77b20e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mesa/examples/basic/schelling/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 77b20e4

Please sign in to comment.