Run clippy on Sobol sampler, and fix/silence warnings.

This commit is contained in:
Nathan Vegdahl 2020-05-01 16:07:19 +09:00
parent 78acaa7b63
commit 99b6ddfa54
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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 }
}
}
}