Fix regression with single stage exclusion
This commit is contained in:
parent
7ef5ae99b6
commit
537f1f0011
|
@ -972,7 +972,7 @@ where
|
|||
for excluded_candidate in excluded_candidates.iter() {
|
||||
let count_card = state.candidates.get_mut(excluded_candidate).unwrap();
|
||||
votes.append(&mut count_card.parcels.concat());
|
||||
//count_card.parcels.clear();
|
||||
count_card.parcels.clear();
|
||||
|
||||
// Update votes
|
||||
let votes_transferred = votes.iter().fold(N::new(), |acc, v| acc + &v.value);
|
||||
|
|
Loading…
Reference in New Issue