Skip to content

ak.randint doesn't behave the same for bool as numpy #4872

Closed

Description

@1RyanK

Describe the bug
Whenever low and high are passed to ak.randint, they are ignored and an array with 50/50 T/F values is generated. There's also some errors raised for invalid values.

Activity

  1. added
    bug
    on Sep 8, 2025
  2. added a commit that references this issue on Sep 8, 2025
    2aad4b2
  3. added 6 commits that reference this issue on Sep 9, 2025
    76db965
    cbd871d
    c17aebc
    d3eeeee
    1aa77ed
    8ab89e8
  4. added a commit that references this issue on Sep 16, 2025
    dfef1d2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions