8000 The new range handling method will raise ValueError for arrays including NaN · Issue #7503 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
The new range handling method will raise ValueError for arrays including NaN #7503
Closed
@hopehhchen

Description

@hopehhchen

This issue appears after one of the latest changes to function_base.py (around Row 550 in 127eb9e on March 16, 2016). Resetting the range to array minimum and maximum by using a.min() and a.max() will raise ValueError: 'range parameter must be finite.' if the array includes NaN. Before the change, the codes assigned a pair of range parameters only when they were included in the input explicitly.

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

      0