Codebase list rust-serde-xml-rs / 178b2d0
statistical - bump rand dependency and fix testcase on x87 Peter Michael Green 2 years ago
8 changed file(s) with 35 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
0 rust-statistical (1.0.0-3) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package statistical 1.0.0 from crates.io using debcargo 2.5.0
4 * Relax rand dependency to allow 0.8
5 * Allow slightly different test result on x87
6
7 -- Peter Michael Green <plugwash@debian.org> Sat, 29 Jan 2022 18:18:44 +0000
8
09 rust-statistical (1.0.0-2) unstable; urgency=medium
110
211 * Package statistical 1.0.0 from crates.io using debcargo 2.5.0
88
99 Files: debian/*
1010 Copyright:
11 2018 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
11 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
1212 2018 Sylvestre Ledru <sylvestre@debian.org>
1313 License: MIT
1414
4141
4242 Files: debian/*
4343 Copyright:
44 2020-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
45 2020-2021 Sylvestre Ledru <sylvestre@debian.org>
44 2020-2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
45 2020-2022 Sylvestre Ledru <sylvestre@debian.org>
4646 License: MIT
4747
4848 License: MIT
0 Index: statistical/Cargo.toml
1 ===================================================================
20 --- statistical.orig/Cargo.toml
31 +++ statistical/Cargo.toml
4 @@ -22,7 +22,7 @@ keywords = ["statistics", "statistical",
5 license = "MIT"
6 repository = "https://github.com/JeffBelgum/statistical"
2 @@ -24,3 +24,3 @@
73 [dependencies.num]
84 -version = "0.2"
95 +version = "0.4"
106
11 [dependencies.rand]
12 version = "0.7"
66
77 [dependencies.rand]
88 -version = "0.6"
9 +version = "0.7"
9 +version = ">= 0.6, < 0.9"
00 bump-rand.diff
11 bump-num.diff
2 x87-test.diff
0 Index: statistical/src/univariate_.rs
1 ===================================================================
2 --- statistical.orig/src/univariate_.rs
3 +++ statistical/src/univariate_.rs
4 @@ -217,7 +217,10 @@ mod test {
5 #[test]
6 fn test_pkurtosis() {
7 let vec = vec![1.25, 1.5, 1.5, 1.75, 1.75, 2.5, 2.75, 4.5];
8 - assert_eq!(pkurtosis(&vec, None, None), 0.7794232987312579);
9 + let result = pkurtosis(&vec, None, None);
10 + //x87 gives a slightly different result, probablly due to excess precision.
11 + if cfg!(all(target_arch = "x86", not(target_feature = "sse2"))) && (result == 0.7794232987312584) { return };
12 + assert_eq!(result, 0.7794232987312579);
13 }
14 #[test]
15 fn test_standard_error_mean() {
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -21,8 +21,7 @@
3 license = "MIT"
4 repository = "https://gitlab.redox-os.org/redox-os/termion"
0 --- termion.orig/Cargo.toml
1 +++ termion/Cargo.toml
2 @@ -23,4 +23,3 @@
53 [dependencies.numtoa]
6 -version = "0.1.0"
4 -version = "0.1"
75 -features = ["std"]
86 +version = "0.2"
97 [target."cfg(not(target_os = \"redox\"))".dependencies.libc]
10 version = "0.2.8"
11 [target."cfg(target_os = \"redox\")".dependencies.redox_syscall]