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

fix: MultipleObjectsReturned error in get neighbors #168

Merged

Conversation

seralot
Copy link
Contributor

@seralot seralot commented Jul 12, 2024

While obtaining the neighbor to the right of obj, only one element was expected. In some rare cases, it was returning more than one element. I have added a filter to ensure that in these cases, only the first element is returned to avoid the error.

@CarlosLVar CarlosLVar merged commit d1f1679 into taigaio:main Jul 12, 2024
2 of 4 checks passed
@seralot seralot deleted the seralot/20240712/fix-multiple-objects branch July 12, 2024 12:19
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.

2 participants