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

Test failures in scipy.special with numpy master #7907

Closed
WarrenWeckesser opened this issue Sep 21, 2017 · 2 comments
Closed

Test failures in scipy.special with numpy master #7907

WarrenWeckesser opened this issue Sep 21, 2017 · 2 comments

Comments

@WarrenWeckesser
Copy link
Member

WarrenWeckesser commented Sep 21, 2017

In recent pull requests, a couple tests in scipy.special are failing with numpy master. One of the tests is effectively this:

>>> from scipy.special import iv
>>> v, z = (-120, 700.6)
>>> assert_allclose(iv(v, z), iv(v, z+0j), rtol=1e-11, atol=1e-305)

In scipy '1.1.0.dev0+04759f9', that assertion passes with numpy 1.13.1, but raises an AssertionError with numpy '1.14.0.dev0+54232da'.

Apparently there is a change in the behavior of np.allclose(). I have reported the issue here: numpy/numpy#9734

@pv
Copy link
Member

pv commented Sep 22, 2017

Fixed in numpy/numpy#9741

@pv pv closed this as completed Sep 22, 2017
@WarrenWeckesser
Copy link
Member Author

Thanks Pauli.

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

2 participants