Skip to content

Uncaught floating point exception on div-by-zero for int dshapes #560

@jcrist

Description

@jcrist
In [7]: a = nd.array([[0, 1, 2], [2, 4, 3]], '2 * 3 * int64')

In [8]: a[1] / a[1]    # This is fine
Out[8]:
nd.array([1, 1, 1],
         type="3 * int64")

In [9]: a[0] / a[0]    # This errors
< Uncaught floating point exception >

Version:

In [1]: import dynd

In [2]: dynd.__version__
Out[2]: "b'020cd10'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions