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 slicing of ChunkedArray if end index == array length #660

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

robert3005
Copy link
Member

No description provided.

@robert3005 robert3005 enabled auto-merge (squash) August 20, 2024 18:23
@robert3005 robert3005 merged commit e57f0bd into develop Aug 20, 2024
3 checks passed
@robert3005 robert3005 deleted the rk/slicing branch August 20, 2024 18:27
Comment on lines +100 to +103
SearchResult::Found(i) => {
if i == self.nchunks() {
i - 1
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feels like there are a lot of bugs of this flavor

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I thought this was wrong in couple of places but it was hidden by multiple other bugs. Need to add a new api

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.

3 participants