Skip to content

Commit

Permalink
TST: increase test tolerances for 2 scipy.special tests.
Browse files Browse the repository at this point in the history
Reported by Yaroslav Halchenko to fail for 0.11.0rc1 on Debian, s390x
architecture, as well as by Derek Homeier for 0.8.0rc3 on PPC OS X.
  • Loading branch information
rgommers committed Aug 10, 2012
1 parent c30adde commit f55282c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scipy/special/tests/test_basic.py
Expand Up @@ -1656,7 +1656,7 @@ def test_iv_cephes_vs_amos_mass_test(self):

# Most error apparently comes from AMOS and not our implementation;
# there are some problems near integer orders there
assert_(dc[k] < 1e-9, (v[k], x[k], special.iv(v[k], x[k]), special.iv(v[k], x[k]+0j)))
assert_(dc[k] < 2e-7, (v[k], x[k], special.iv(v[k], x[k]), special.iv(v[k], x[k]+0j)))

def test_kv_cephes_vs_amos(self):
#self.check_cephes_vs_amos(kv, kn, rtol=1e-9, atol=1e-305)
Expand Down
2 changes: 1 addition & 1 deletion scipy/special/tests/test_data.py
Expand Up @@ -96,7 +96,7 @@ def test_boost():
data(gamma, 'test_gamma_data_ipp-near_1', 0, 1),
data(gamma, 'test_gamma_data_ipp-near_2', 0, 1),
data(gamma, 'test_gamma_data_ipp-near_m10', 0, 1),
data(gamma, 'test_gamma_data_ipp-near_m55', 0, 1),
data(gamma, 'test_gamma_data_ipp-near_m55', 0, 1, rtol=7e-12),
data(gamma, 'test_gamma_data_ipp-near_0', 0j, 1, rtol=2e-9),
data(gamma, 'test_gamma_data_ipp-near_1', 0j, 1, rtol=2e-9),
data(gamma, 'test_gamma_data_ipp-near_2', 0j, 1, rtol=2e-9),
Expand Down

0 comments on commit f55282c

Please sign in to comment.