Skip to content

Commit

Permalink
increase a value of tolerance by 5%
Browse files Browse the repository at this point in the history
  • Loading branch information
mawc2019 committed Feb 5, 2023
1 parent 44310ff commit 383babf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/test_adjoint_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def test_gradient_backpropagation(self):
# non-center frequencies of a multifrequency simulation
# are expected to be less accurate than the center frequency
if nfrq == 1 and frequencies[0] == self.fcen:
tol = 2e-4 if mp.is_single_precision() else 5e-6
tol = 2.1e-4 if mp.is_single_precision() else 5e-6
else:
tol = 0.005 if mp.is_single_precision() else 0.002

Expand Down

0 comments on commit 383babf

Please sign in to comment.