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 sortperm(::OffsetRange) #53208

Merged
merged 3 commits into from
Feb 10, 2024
Merged

Fix sortperm(::OffsetRange) #53208

merged 3 commits into from
Feb 10, 2024

Conversation

LilithHafner
Copy link
Member

I thought we required all AbstractRanges and AbstractUnitRanges to use one-based indexing, but can't find that documented anywhere so I guess these implementations are buggy.

If we do require all abstract ranges to have one-based indexing then the change to source is still appropriate, but the change to test should get some extra comments.

@LilithHafner LilithHafner added kind:bugfix This change fixes an existing bug domain:ranges Everything AbstractRange domain:sorting Put things in order labels Feb 6, 2024
@LilithHafner
Copy link
Member Author

150e61b suggested by Andy Dienes on Zulip

@vtjnash vtjnash added the status:merge me PR is reviewed. Merge when all tests are passing label Feb 10, 2024
@IanButterworth IanButterworth merged commit e177fc3 into master Feb 10, 2024
8 checks passed
@IanButterworth IanButterworth deleted the lh/sortperm-offset-range branch February 10, 2024 06:37
@giordano giordano removed the status:merge me PR is reviewed. Merge when all tests are passing label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:ranges Everything AbstractRange domain:sorting Put things in order kind:bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants