Repository navigation
Closes #4872: ak.randint doesn't behave the same for bool as numpy - #4873
Merged
ajpotts merged 1 commit intoSep 16, 2025
Conversation
1RyanK
force-pushed
the
4872-ak.randint_doesnt_behave_the_same_for_bool_as_numpy
branch
2 times, most recently
from
September 9, 2025 16:52
81ee991 to
cbd871d
Compare
1RyanK
marked this pull request as ready for review
September 9, 2025 16:52
1RyanK
requested review from
ajpotts,
drculhane,
e-kayrakli and
jaketrookman
September 9, 2025 16:52
ajpotts
approved these changes
Sep 10, 2025
ajpotts
left a comment
Contributor
There was a problem hiding this comment.
Great work. Thanks for fixing this!
1RyanK
force-pushed
the
4872-ak.randint_doesnt_behave_the_same_for_bool_as_numpy
branch
3 times, most recently
from
September 15, 2025 13:03
d3eeeee to
1aa77ed
Compare
drculhane
approved these changes
Sep 15, 2025
drculhane
left a comment
Contributor
There was a problem hiding this comment.
Good work. I noted a comment that I think needs fixing, but other than that, it looks good and passes all unit tests.
1RyanK
force-pushed
the
4872-ak.randint_doesnt_behave_the_same_for_bool_as_numpy
branch
from
September 15, 2025 13:36
2ca792e to
8ab89e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed up the Chapel code for randint, and then also updated how it's handled in the Python-side. Then tests failed so updated several of them.
Closes #4872: ak.randint doesn't behave the same for bool as numpy