Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /autopano-sift-C/MatchKeys.c [bde674] .. [fcaf51] Maximize Restore

  Switch to side-by-side view

--- a/autopano-sift-C/MatchKeys.c
+++ b/autopano-sift-C/MatchKeys.c
@@ -240,7 +240,7 @@
 			   ArrayList_Count(keys->array),
 			   ArrayList_GetItem(filenames, n),
 			   keys->imageFile,
-			   keys->xDim, keys->xDim);
+			   keys->xDim, keys->yDim);
 		
 		ArrayList_SetItem(self->keySets, n, keys);
 	}
@@ -879,7 +879,7 @@
 	// the final result.
 	int j;
 	for(j=0; j<ArrayList_Count(self->keySets); j++) {
-		KeypointXMLList* klist = ArrayList_GetItem(self->keySets, i);
+		KeypointXMLList* klist = ArrayList_GetItem(self->keySets, j);
 		char* filename = klist->imageFile;
 
 		if (MultiMatch_FindComponent (components, filename) != NULL)
@@ -1024,7 +1024,7 @@
 				WriteLine ("  FAILED");
 				break;
 			} else {
-				WriteLine ("  SUCCESS:%s", BondBall_ToString(bb));
+				WriteLine ("  SUCCESS: %s", BondBall_ToString(bb));
 			}
 			first = false;