From 12137c14ba6ba350af3d39ee62c1607220ee57ce Mon Sep 17 00:00:00 2001 From: Vinzent Steinberg Date: Sun, 17 Dec 2023 16:49:56 +0100 Subject: [PATCH] Relax flaky kurtosis test --- tests/integration/random.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/random.rs b/tests/integration/random.rs index f396bf8..fb84723 100644 --- a/tests/integration/random.rs +++ b/tests/integration/random.rs @@ -30,5 +30,5 @@ fn exponential_distribution() { assert_almost_eq!(a.population_variance().sqrt(), 1. / lambda, 1e-2); assert_almost_eq!(a.error_mean(), 0.0, 1e-2); assert_almost_eq!(a.skewness(), 2.0, 1e-1); - assert_almost_eq!(a.kurtosis(), 6.0, 1e-1); + assert_almost_eq!(a.kurtosis(), 6.0, 1.5e-1); }