From 0db1181851913be7887664d127a52d9f1d7ab33f Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Sat, 11 Jan 2020 19:45:07 -0800 Subject: [PATCH] Output counts indexes correctly Signed-off-by: James Ketrenos --- scanner/scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner/scanner.c b/scanner/scanner.c index 6c7d362..d81cedb 100644 --- a/scanner/scanner.c +++ b/scanner/scanner.c @@ -519,7 +519,7 @@ int main(int argc, char *argv[]) { fprintf(stderr, "Cluster %d had %d units. Split into %d clusters (max: %f).\n", i + 1, stats[i], split, reducedDistance); for (int c = 0; c < split; c++) { - fprintf(stderr, "%ld. %ld\n", c + clusters, getClusterCount(ppFaces, entries, delta + c + clusters)); + fprintf(stderr, "%ld. %ld\n", delta + c + clusters, getClusterCount(ppFaces, entries, delta + c + clusters)); } for (int j = 0; j < entries; j++) {