Skip to content

Commit

Permalink
Relax requirement for interpolation in tests
Browse files Browse the repository at this point in the history
This is tuning of commit 4c66136

@reproduce_failure('6.114.1', b'AXicY2BgOGDAgAUc8L/eJVux8DqIKYAQFUBXx0gME9kEBXwmAABmjwjE')
triggers a failure (ip_dist_std =  ~1.13) which the accompanying plot
reveals is perfectly fine.
  • Loading branch information
berland committed Oct 14, 2024
1 parent 7272760 commit 5110848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils_interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def test_interpolate_wo(
# that is the std.dev of the distances is low:
ip_dist_std = np.std(np.diff(dists[1:])) # This number depends on 'h' and 't' range
# (avoiding the first which reproduces wo_low
if ip_dist_std > 1.1: # Found by trial and error
if ip_dist_std > 1.2: # Found by trial and error
print(f"ip_dist_std: {ip_dist_std}")
print(dists)

Expand Down

0 comments on commit 5110848

Please sign in to comment.