diff --git a/elsim/methods/fptp.py b/elsim/methods/fptp.py index 5dc9aa0..961c19b 100644 --- a/elsim/methods/fptp.py +++ b/elsim/methods/fptp.py @@ -201,4 +201,4 @@ def sntv(election, n=1, tiebreaker=None): return set(untied_winners) | set(tie_winners) else: # TODO: Maybe should use arrays for deterministic randomness? - return set(top_candidates) + return set(int(candidate) for candidate in top_candidates)