Skip to content

Commit

Permalink
Removed min_match variable which was commented out and which seemed t…
Browse files Browse the repository at this point in the history
…o be causing slowdown when used
  • Loading branch information
andrewdavidsmith committed Mar 5, 2024
1 parent c82c36a commit 1cb3466
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ fn naive_matching(adaptor: &[u8], read: &[u8], min_frac: f64, min_ltrs: usize) -
let d_delta = 1f64 - min_frac;

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

0 comments on commit 1cb3466

Please sign in to comment.