diff --git a/src/core/src/sketch/minhash.rs b/src/core/src/sketch/minhash.rs index bd53a48181..60b1c97c73 100644 --- a/src/core/src/sketch/minhash.rs +++ b/src/core/src/sketch/minhash.rs @@ -12,11 +12,11 @@ use serde::ser::{SerializeStruct, Serializer}; use serde::{Deserialize, Serialize}; use typed_builder::TypedBuilder; -use crate::{_hash_murmur, ScaledType}; use crate::encodings::HashFunctions; use crate::signature::SigsTrait; use crate::sketch::hyperloglog::HyperLogLog; use crate::Error; +use crate::{ScaledType, _hash_murmur}; pub fn max_hash_for_scaled(scaled: ScaledType) -> u64 { match scaled { diff --git a/src/core/tests/minhash.rs b/src/core/tests/minhash.rs index e28e716bc4..bdbba0cc20 100644 --- a/src/core/tests/minhash.rs +++ b/src/core/tests/minhash.rs @@ -5,7 +5,6 @@ use std::path::PathBuf; use proptest::collection::vec; use proptest::num::u64; use proptest::proptest; -use sourmash::ScaledType; use sourmash::encodings::HashFunctions; use sourmash::signature::SeqToHashes; use sourmash::signature::{Signature, SigsTrait}; @@ -13,6 +12,7 @@ use sourmash::sketch::minhash::{ max_hash_for_scaled, scaled_for_max_hash, KmerMinHash, KmerMinHashBTree, }; use sourmash::sketch::Sketch; +use sourmash::ScaledType; // TODO: use f64::EPSILON when we bump MSRV const EPSILON: f64 = 0.01;