From c9fa5138630ca12e5124b384de083ff8cadd62dd Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Sat, 11 Jan 2020 16:25:20 -0800 Subject: [PATCH] Reduce console scroll due to output while clustering.\n 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 949142d..b07456a 100644 --- a/scanner/scanner.c +++ b/scanner/scanner.c @@ -198,7 +198,7 @@ long int DBSCAN(Face **ppFaces, long int faceCount, double eps, int minPts) { freeChain(pSubNeighbors); pSubNeighbors = RangeQuery(ppFaces, faceCount, pQ, threshold); neighborCount = chainLength(pSubNeighbors); - fprintf(stderr, "With eps of %f, %ld has %ld neighbors.\n", threshold, pQ->faceId, neighborCount); + fprintf(stderr, "\rWith eps of %f, %ld has %ld neighbors.", threshold, pQ->faceId, neighborCount); } if (neighborCount >= minPts) {