Skip to content

Commit

Permalink
TST: Change tolerance of consistency tests (#554)
Browse files Browse the repository at this point in the history
Because:
- differences in compiler toolchains cause inconsistent result
  on conda-forge pipeline?
  • Loading branch information
carterbox committed Jul 16, 2021
1 parent 7683092 commit 362743a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_tomopy/test_recon/test_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def test_ospml_hybrid(self):
num_iter=4,
num_block=3),
read_file('ospml_hybrid.npy'),
rtol=1e-2)
atol=1e-6)

def test_ospml_quad(self):
assert_allclose(recon(self.prj,
Expand All @@ -212,7 +212,7 @@ def test_ospml_quad(self):
num_iter=4,
num_block=3),
read_file('ospml_quad.npy'),
rtol=1e-2)
atol=1e-6)

def test_pml_hybrid(self):
assert_allclose(recon(self.prj,
Expand Down

0 comments on commit 362743a

Please sign in to comment.