Skip to content

BUG: error in printing masked arrays #7621

Closed
@fonnesbeck

Description

@fonnesbeck

Numpy masked arrays do not fill correctly when constructed. In the example below, the values filled do not correspond to the mask (notice the big chunk of values in the middle that get filled when they should not:

screenshot

The same happens with other masked array constructors, such as masked_equal. Strangely, if I use nan as the mask value, it works as expected.

Running NumPy 1.11.0 on Python 3.5.1 (OS X 10.11.4)

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