Skip to content

subclassed ArrayIndexer returns 0-dimensional array instead of scalar for some operations #20

Open
@zingale

Description

@zingale

When we work on an ArrayIndexer object a, and do a.min(), we expect a scalar. NumPy gives a scalar, but our wrapped class returns a 0-dimensional ArrayIndexer object.

This is discussed here at bit:

numpy/numpy#5819

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions