diff options
| author | Alexander_Kabui <alexanderkabua@gmail.com> | 2022-07-14 14:25:34 +0300 |
|---|---|---|
| committer | Alexander_Kabui <alexanderkabua@gmail.com> | 2022-07-14 14:25:34 +0300 |
| commit | 4f73a3f024fc0dc74bbe4d8b02f0eb83b6516485 (patch) | |
| tree | e471c4de448133ca26c077cd9b623a8f849466b8 /src/correlations.rs | |
| parent | 93c2537947776a9565ef950ef61aed506b71dcd7 (diff) | |
| download | correlation_rust-4f73a3f024fc0dc74bbe4d8b02f0eb83b6516485.tar.gz | |
minor fixes
Diffstat (limited to 'src/correlations.rs')
| -rw-r--r-- | src/correlations.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/correlations.rs b/src/correlations.rs index 0b921ec..5ca427e 100644 --- a/src/correlations.rs +++ b/src/correlations.rs @@ -64,7 +64,7 @@ impl Correlation for Pearson { impl Correlation for Spearman { fn correlate(&self, x: &[f64], y: &[f64]) -> (f64, f64) { match x.len() == y.len() { - true => println!("safe"), + true => (), false => panic!("array should be of the same size"), }; |
