Skip to content

reshape function and max_bits handling #4165

Closed

Description

@ajpotts

When a bigint array is reshaped, the max_bits does not match the original:

In [3]: 
   ...: 
   ...: x = ak.arange(10, dtype=bigint)
   ...: x.max_bits = 64
   ...: y = x.reshape((10,))
   ...: 
   ...: x.max_bits
   ...: 
Out[3]: 64

In [4]: y.max_bits
Out[4]: -1

Activity

  1. self-assigned this
    on Mar 10, 2025
  2. added 5 commits that reference this issue on Mar 10, 2025
    1304db4
    732cf14
    a5456a7
    1765943
    86dc50e
  3. added 2 commits that reference this issue on Apr 21, 2025
    25b62a6
    0677354
  4. added 3 commits that reference this issue on May 12, 2025
    d6b4dc2
    9ff1408
    e1c002a
  5. added a commit that references this issue on May 13, 2025
    7748033
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions