From 537f1f001147b8d9575b3168b58a05f845d19a8c Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Wed, 9 Jun 2021 22:34:44 +1000 Subject: [PATCH] Fix regression with single stage exclusion --- src/stv/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stv/mod.rs b/src/stv/mod.rs index 8cf09d5..1655c89 100644 --- a/src/stv/mod.rs +++ b/src/stv/mod.rs @@ -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);