Skip to content

Commit

Permalink
fix case when graph has no coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Apr 22, 2024
1 parent ff4a636 commit 7195695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ pub fn assign_parental_groups(
&& ((x as f64) > settings.assign_ratio * (y as f64) - 1e-6
|| (node_len > solid_len
&& (x as f64) > settings.solid_ratio * (y as f64) - 1e-6
&& node_cov < solid_cov - 1e-6))
&& node_cov < solid_cov + 1e-6))
};

let issue_node_f = |x: usize, y: usize, node_len: usize| {
Expand Down

0 comments on commit 7195695

Please sign in to comment.