8000 numpy.linalg.norm doesn't work well with int16 inputs · Issue #4851 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
numpy.linalg.norm doesn't work well with int16 inputs #4851
Closed
@capybaralet

Description

@capybaralet

ex:

In [18]: norm(1000000*np.ones(2).astype('int16'))
Out[18]: nan

In [19]: norm(1000000*np.ones(2))
Out[19]: 1414213.562373095
4B35

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