[MN-dev] [mndiff]: r171 - trunk/ffvotetov/ffvotetov.c

michael subversion at mplayerhq.hu
Wed Dec 16 03:05:58 CET 2009


Author: michael
Date: Wed Dec 16 03:05:58 2009
New Revision: 171

Log:
Fix harmless *2 bug.

Modified:
   trunk/ffvotetov/ffvotetov.c

Modified: trunk/ffvotetov/ffvotetov.c
==============================================================================
--- trunk/ffvotetov/ffvotetov.c	Wed Dec 16 02:30:08 2009	(r170)
+++ trunk/ffvotetov/ffvotetov.c	Wed Dec 16 03:05:58 2009	(r171)
@@ -263,7 +263,7 @@ int main(){
     do_condercets();
 
     for(j=0; j<canditate_count; j++){
-        for(k=0; k<canditate_count; k++){
+        for(k=j+1; k<canditate_count; k++){
             pair_matrix[j][k] -= pair_matrix[k][j];
             pair_matrix[k][j] = -pair_matrix[j][k];
         }


More information about the Mndiff-dev mailing list