summaryrefslogtreecommitdiff
path: root/wk3/pset/runoff
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-19 20:21:29 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-19 20:21:29 +0000
commit1f398095d87435ff68c13d82664fe25104376657 (patch)
tree64643159208a4de4f31cb7ad85544deb795895eb /wk3/pset/runoff
parent608f4aaf972024fd69d6a3e04021a72ee3d5d101 (diff)
Mon, Feb 19, 2024, 12:21 PM -08:00
Diffstat (limited to 'wk3/pset/runoff')
-rw-r--r--wk3/pset/runoff/runoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wk3/pset/runoff/runoff.c b/wk3/pset/runoff/runoff.c
index 4295300..5d540a5 100644
--- a/wk3/pset/runoff/runoff.c
+++ b/wk3/pset/runoff/runoff.c
@@ -141,7 +141,7 @@ bool vote(int voter, int rank, string name)
// Tabulate votes for non-eliminated candidates
void tabulate(void)
{
- for (int i = 0; i < candidate_count; i++)
+ for (int i = 0; i < MAX_VOTERS; i++)
{
}