Skip to content

Conversation

Arnab7456
Copy link
Contributor

This change ensures that the distances are compared safely without the risk of overflow.
image

The current implementation can potentially cause overflow when the distances are large.
issue solve Id: ashishps1#21
@ashishps1 ashishps1 merged commit 4ba94a8 into ashishps1:main Apr 20, 2025
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