From 9d21dfe6885bff63614a5d718a75d28640105328 Mon Sep 17 00:00:00 2001 From: Daniel Boros Date: Sun, 29 Sep 2024 21:03:56 +0200 Subject: [PATCH] fix: update test --- stochastic-rs-stats/src/fd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stochastic-rs-stats/src/fd.rs b/stochastic-rs-stats/src/fd.rs index 7bd9a22..2266688 100644 --- a/stochastic-rs-stats/src/fd.rs +++ b/stochastic-rs-stats/src/fd.rs @@ -106,6 +106,6 @@ mod tests { }); let fd = FractalDim::new(x.sample()); let result = fd.higuchi_fd(10); - assert_relative_eq!(2.0 - result, hurst, epsilon = 1e-2); + assert_relative_eq!(2.0 - result, hurst, epsilon = 1e-1); } }