summaryrefslogtreecommitdiff
path: root/wk3/pset/runoff/runoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'wk3/pset/runoff/runoff.c')
-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++)
{
}