Skip to content

Conversation

@ErwanH29
Copy link
Collaborator

@ErwanH29 ErwanH29 commented Dec 2, 2025

Added a fix to the function nearest_neighbour in amuse/datamodel/particle_attributes.py to ensure that particles do not consider themselves as nearest neighbours unless the boolean self_search is passed (issue #978). Additionally, scripts which have been using the function have been modified and checked to give consistent results with the previous version.

…emselves in the nearest_neighbour() function
@github-project-automation github-project-automation bot moved this from Backlog to Done in Development Board Dec 3, 2025
@elkogerville elkogerville merged commit e4f8659 into amusecode:main Dec 4, 2025
1 of 4 checks passed
@ErwanH29 ErwanH29 deleted the nearest_neighbour_fix branch December 4, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants