Skip to content

Commit 1cb3466

Browse files
Removed min_match variable which was commented out and which seemed to be causing slowdown when used
1 parent c82c36a commit 1cb3466

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ fn naive_matching(adaptor: &[u8], read: &[u8], min_frac: f64, min_ltrs: usize) -
4242
let d_delta = 1f64 - min_frac;
4343

4444
let i_lim1 = if n > m { 0 } else { m + 1 - n };
45-
// let min_match = (min_frac * n as f64).ceil() as usize;
4645
let mut d_max = n as f64 * d_delta;
4746
for i in 0..i_lim1 {
4847
let mut d: usize = 0;

0 commit comments

Comments
 (0)