Skip to content

Commit

Permalink
flocking benchmark: Remove unneeded passing of pos
Browse files Browse the repository at this point in the history
pos is not a part of the Boid init, which is causing an error. It can be safely removed, because it's already initialized the line below with `self.space.place_agent(boid, pos)`
  • Loading branch information
EwoutH authored and rht committed Apr 24, 2024
1 parent ed2cadf commit 450df5e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion benchmarks/Flocking/flocking.py
Expand Up @@ -139,7 +139,6 @@ def __init__(
boid = Boid(
unique_id=i,
model=self,
pos=pos,
speed=speed,
direction=direction,
vision=vision,
Expand Down

0 comments on commit 450df5e

Please sign in to comment.