Skip to content

Commit 450df5e

Browse files
EwoutHrht
authored andcommitted
flocking benchmark: Remove unneeded passing of pos
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)`
1 parent ed2cadf commit 450df5e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

benchmarks/Flocking/flocking.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def __init__(
139139
boid = Boid(
140140
unique_id=i,
141141
model=self,
142-
pos=pos,
143142
speed=speed,
144143
direction=direction,
145144
vision=vision,

0 commit comments

Comments
 (0)