Skip to content

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

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'"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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