diff --git a/sub_crates/sobol/src/lib.rs b/sub_crates/sobol/src/lib.rs index c8a79c5..f2d0906 100644 --- a/sub_crates/sobol/src/lib.rs +++ b/sub_crates/sobol/src/lib.rs @@ -3,6 +3,8 @@ //! This implementation is limited to `2^16` samples, and will loop back to //! the start of the sequence after that limit. +#![allow(clippy::unreadable_literal)] + mod wide; use wide::Int4; diff --git a/sub_crates/sobol/src/wide.rs b/sub_crates/sobol/src/wide.rs index 94b6fbb..f240043 100644 --- a/sub_crates/sobol/src/wide.rs +++ b/sub_crates/sobol/src/wide.rs @@ -255,7 +255,7 @@ pub(crate) mod fallback { impl From<[u32; 4]> for Int4 { fn from(v: [u32; 4]) -> Self { - Int4 { v: v } + Int4 { v } } } }