Skip to content

array[slice_group_from_an_incompatible_axis] is buggy #1146

Description

@gdementen

I am pretty sure there are cases where the group is retargeted to the correct axis, but at least in this case it isn't while it should:

>>> arr = ndtest(3)
>>> a2 = Axis('a=a0,a1')
>>> arr[a2]  # <-- correct
a  a0  a1
    0   1
>>> arr[a2[:]]  # <-- wrong
a  a0  a1  a2
    0   1   2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions