Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
Fix bug in process.sh script
Browse files Browse the repository at this point in the history
proportional with best-candidate is inverted
  • Loading branch information
infinisil committed Nov 4, 2024
1 parent 822b6e3 commit b970f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/process.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ while read -ra ballot; do

declare -a candidateRanks=()
for candidate in $(seq "${candidateCount}"); do
candidateRanks[candidate]=$candidateCount
candidateRanks[candidate]=1
done

# Inverts the ranking, see top of file!
Expand Down

0 comments on commit b970f47

Please sign in to comment.