Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flocking benchmark: Remove unneeded passing of pos #2125

Merged
merged 1 commit into from Apr 24, 2024
Merged

Conversation

EwoutH
Copy link
Contributor

@EwoutH EwoutH commented Apr 24, 2024

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)

Thanks to @rht for suggesting the fix.

Closes #2124.

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)`
@EwoutH EwoutH requested review from rht and quaquel April 24, 2024 09:10
@rht rht merged commit 450df5e into main Apr 24, 2024
10 of 11 checks passed
@rht rht deleted the fix-flocking-bench branch April 24, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix error in failing flocking benchmark
2 participants