Skip to content

np.ma.asanyarray(x) is not x for any x #8666

Closed

Description

@eric-wieser

I would expect this to always be true:

>>> x = ...
>>> xm = np.ma.asanyarray(x)
>>> xm is np.ma.asanyarray(xm)
False  # what?

Activity

  1. eric-wieser commented on Feb 22, 2017

    @eric-wieser
    MemberAuthor

    I'd expect something similar from make_mask_descr, which also fails

  2. eric-wieser commented on Feb 23, 2017

    @eric-wieser
    MemberAuthor

    Closing due to the workaround in 0bc42fc

  3. eric-wieser commented on Jan 3, 2018

    @eric-wieser
    MemberAuthor

    Related to #4043

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions