Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mole1424 authored Mar 5, 2024
1 parent af49863 commit 32d7a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion votes/stv.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def round(self):
self._log(scores, wastage, quota)
return

if surplus == 0:
if surplus == 0 or surplus >= self.previous_surplus:
# B3
sorted_results = sorted(
filter(lambda x: x[0].status == States.HOPEFUL, scores.items()),
Expand Down

0 comments on commit 32d7a84

Please sign in to comment.