[MN-dev] [mndiff]: r163 - trunk/ffvotetov/ffvotetov.c
michael
subversion at mplayerhq.hu
Tue Dec 15 21:02:46 CET 2009
Author: michael
Date: Tue Dec 15 21:02:46 2009
New Revision: 163
Log:
Remove special case for Borda calculation after removing whitespace vote.
Modified:
trunk/ffvotetov/ffvotetov.c
Modified: trunk/ffvotetov/ffvotetov.c
==============================================================================
--- trunk/ffvotetov/ffvotetov.c Tue Dec 15 21:01:04 2009 (r162)
+++ trunk/ffvotetov/ffvotetov.c Tue Dec 15 21:02:46 2009 (r163)
@@ -157,7 +157,7 @@ int main(){
}
add_vote(vote);
for(j=0; j<canditate_count; j++)
- sums[j] += subs[j]*7; //canditate_count;
+ sums[j] += subs[j]*canditate_count;
printf("Candidates:\n");
for(cand_idx=0; cand_idx<canditate_count; cand_idx++)
More information about the Mndiff-dev
mailing list