From 51108485572a3db2e3165e256c1a19d45fd3cb88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Berland?= Date: Mon, 14 Oct 2024 12:34:39 +0200 Subject: [PATCH] Relax requirement for interpolation in tests This is tuning of commit 4c66136881ab0da0a96dcf50a9a2b472f8ff1ab8 @reproduce_failure('6.114.1', b'AXicY2BgOGDAgAUc8L/eJVux8DqIKYAQFUBXx0gME9kEBXwmAABmjwjE') triggers a failure (ip_dist_std = ~1.13) which the accompanying plot reveals is perfectly fine. --- tests/test_utils_interpolation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_utils_interpolation.py b/tests/test_utils_interpolation.py index c3a101f0..a4ace4fb 100644 --- a/tests/test_utils_interpolation.py +++ b/tests/test_utils_interpolation.py @@ -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)