From 1f398095d87435ff68c13d82664fe25104376657 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Mon, 19 Feb 2024 20:21:29 +0000 Subject: Mon, Feb 19, 2024, 12:21 PM -08:00 --- wk3/pset/runoff/runoff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wk3/pset/runoff/runoff.c') 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++) { } -- cgit v1.2.3