From dcc612fc98729257ccb2553c9dadfaa4407b8649 Mon Sep 17 00:00:00 2001 From: randogoth Date: Fri, 17 Jan 2025 18:49:52 +0200 Subject: [PATCH] renamed uncorrelation --- src/uniformity/uncorrelation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uniformity/uncorrelation.rs b/src/uniformity/uncorrelation.rs index 40a94fe..1195819 100644 --- a/src/uniformity/uncorrelation.rs +++ b/src/uniformity/uncorrelation.rs @@ -6,7 +6,7 @@ impl Onod { /// UnCorrelation randomness test /// Computes the Pearson correlation between the sequence and its shifted version, returning a p-value. - pub fn un_correlation(input: &[u8]) -> (f64, f64, f64) { + pub fn uncorrelation(input: &[u8]) -> (f64, f64, f64) { let samples = input.iter().map(|&x| x as i32).collect::>();