diff --git a/src/expr/linkplan.rs b/src/expr/linkplan.rs index 4d379a2..dfeec26 100644 --- a/src/expr/linkplan.rs +++ b/src/expr/linkplan.rs @@ -119,9 +119,7 @@ fn calculate_votes(mut que: Vec>) -> Vec, VoteEntry v.best_parent = pbs_index.0.try_into().unwrap(); // propagate dependency - if v.is_used { - plvl.get_mut(&pbs).unwrap().is_used = true; - } + plvl.get_mut(&pbs).unwrap().is_used = true; } levels[lid + 1] = taken;