From d3ca11b0bcc1f42fe34ba4f90f99509b7eb4ff18 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Tue, 8 Feb 2022 09:33:33 +0000 Subject: [PATCH] Update to packed_simd_2 0.3.7 --- Cargo.toml | 2 +- src/distributions/uniform.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4ef49d1876e..98ba373c68f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,7 +71,7 @@ rand_chacha = { path = "rand_chacha", version = "0.3.0", default-features = fals [dependencies.packed_simd] # NOTE: so far no version works reliably due to dependence on unstable features package = "packed_simd_2" -version = "0.3.6" +version = "0.3.7" optional = true features = ["into_bits"] diff --git a/src/distributions/uniform.rs b/src/distributions/uniform.rs index 482461f0f13..6b9e70f0839 100644 --- a/src/distributions/uniform.rs +++ b/src/distributions/uniform.rs @@ -1430,7 +1430,7 @@ mod tests { #[test] #[should_panic] fn test_float_overflow() { - Uniform::from(::core::f64::MIN..::core::f64::MAX); + let _ = Uniform::from(::core::f64::MIN..::core::f64::MAX); } #[test]