Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jcrist opened this issue Jan 28, 2016 · 0 comments
Open

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

jcrist opened this issue Jan 28, 2016 · 0 comments

Comments

@jcrist
Copy link

jcrist commented Jan 28, 2016

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'"
@jcrist jcrist changed the title Segfault on div-by-zero for int dshapes Uncaught floating point exception on div-by-zero for int dshapes Jan 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant