Skip to content

fix: prevent underflow in split_indices - #50

Merged
flying-sheep merged 1 commit into
mainfrom
fix-overflow
Oct 22, 2026
Merged

flying-sheep merged 1 commit into
mainfrom
fix-overflow

Conversation

@flying-sheep

@flying-sheep flying-sheep commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

the code assumes that order is ascending, which it isn’t necessarily, so we can get an underflow. This fixes it

@flying-sheep
flying-sheep merged commit 7d9765d into main Oct 22, 2026
14 checks passed
@flying-sheep
flying-sheep deleted the fix-overflow branch October 22, 2026 13:43
This was referenced Oct 21, 2026
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.

1 participant