Skip to content

Commit

Permalink
Open up rank votes to the max of 9 to be displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinematics committed Sep 8, 2015
1 parent fdd782d commit 5411c92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TallyCore/RankVotes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ private static List<string> RankTask(IGrouping<string, KeyValuePair<string, Hash
var voterNonChoices = GetNonChoices(voterChoices, allVotes);

// 1st, 2nd, 3rd, and 4th place results
List<string> topChoices = new List<string>(4);
List<string> topChoices = new List<string>(9);

for (int i = 0; i < 4; i++)
for (int i = 0; i < 9; i++)
{
System.Diagnostics.Debug.WriteLine($"- Loop [{i}]");

Expand Down

0 comments on commit 5411c92

Please sign in to comment.