summaryrefslogtreecommitdiff
path: root/src/election.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/election.adb')
-rw-r--r--src/election.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/election.adb b/src/election.adb
index 6a7892f..80c846a 100644
--- a/src/election.adb
+++ b/src/election.adb
@@ -27,7 +27,7 @@ package body Election is
-- Candidate, preference data, and other information
-- that's actively used by the main STV algorithm.
Pref_Data : Bundle_Containers.Bundle_Map;
- Cand_Data : Candidates.Containers.Candidate_Map;
+ Cand_Data : Candidates.Containers.Candidate_Vector;
Entries : Entry_Vectors.Vector;
Exhausted : Extra_Data;
Fractional : Extra_Data;
@@ -94,7 +94,7 @@ package body Election is
-- This must be called before an election is run.
procedure Setup
- (Candidate_Data : in Candidates.Containers.Candidate_Map;
+ (Candidate_Data : in Candidates.Containers.Candidate_Vector;
Preference_File : in String;
Output_Dir, Main_Logfile : in String;
Number_To_Elect : in Natural;