From b47a6c4d08189b7c81d5e40ec4e0e7dc1f2224ba Mon Sep 17 00:00:00 2001 From: "C. Titus Brown" Date: Sat, 12 Oct 2024 06:11:26 -0400 Subject: [PATCH] comment --- src/core/src/sketch/minhash.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/src/sketch/minhash.rs b/src/core/src/sketch/minhash.rs index c12cdfb62..734103167 100644 --- a/src/core/src/sketch/minhash.rs +++ b/src/core/src/sketch/minhash.rs @@ -724,7 +724,7 @@ impl KmerMinHash { // create a downsampled copy of self pub fn downsample_max_hash(self, max_hash: u64) -> Result { if self.max_hash == 0 { - // does this make sense? @CTB + // CTB: this is a num minhash. Should we just blithely return? Ok(self) } else { let scaled = scaled_for_max_hash(max_hash); @@ -1543,6 +1543,7 @@ impl KmerMinHashBTree { // create a downsampled copy of self pub fn downsample_max_hash(self, max_hash: u64) -> Result { if self.max_hash == 0 { + // CTB: this is a num minhash. Just blithely return. Ok(self) } else { let scaled = scaled_for_max_hash(max_hash);