Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Binary search can fail due to overflow error #1305

Closed
r-barnes opened this issue Oct 7, 2020 · 2 comments · Fixed by #1306
Closed

Binary search can fail due to overflow error #1305

r-barnes opened this issue Oct 7, 2020 · 2 comments · Fixed by #1306
Assignees
Labels
type: bug: functional Does not work as intended.
Milestone

Comments

@r-barnes
Copy link
Contributor

r-barnes commented Oct 7, 2020

The binary search implementation suffers from a well-known issue that can lead to incorrect results on large datasets. This happens here and here. There's a simple fix which I'll provide a PR for.

@r-barnes
Copy link
Contributor Author

@allisonvacanti, #1306 has been approved for merge, which resolves this bug. Not sure how that should be handled on your end.

@r-barnes
Copy link
Contributor Author

Oh, nevermind, I see that you're on that thread too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug: functional Does not work as intended.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants