Skip to content

ndarray.reshape prototype mismatch #556

@kyleaoman

Description

@kyleaoman

As of numpy 2.1 the ndarray.reshape function has a new keyword argument copy (https://numpy.org/doc/2.1/reference/generated/numpy.ndarray.reshape.html) that is not reflected in the unyt_quantity implementation:

def reshape(self, *shape, order="C"):

Metadata

Metadata

Assignees

No one assigned

    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