Skip to content

Commit

Permalink
fixed runoff_tally for top2runoff
Browse files Browse the repository at this point in the history
  • Loading branch information
johnh865 committed Mar 2, 2021
1 parent cd9a92e commit 7e2085c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion votesim/votemethods/irv.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def top2runoff(data, numwin=1):
output = {}
output['tally'] = np.maximum(vote_count, vote_count2)
output['runoff_candidates'] = winners
output['runoff_tally'] = vote_count2
output['runoff_tally'] = vote_count2[winners]
output['first_tally'] = vote_count

return winners2, ties2, output
Expand Down

0 comments on commit 7e2085c

Please sign in to comment.