diff --git a/scanner/scanner.c b/scanner/scanner.c index ac399fb..949142d 100644 --- a/scanner/scanner.c +++ b/scanner/scanner.c @@ -156,7 +156,7 @@ long int DBSCAN(Face **ppFaces, long int faceCount, double eps, int minPts) { freeChain(pNeighbors); pNeighbors = RangeQuery(ppFaces, faceCount, pFace, threshold); neighborCount = chainLength(pNeighbors); - fprintf(stderr, "With eps of %f, %ld has %ld neighbors.\n", threshold, pFace->faceId, neighborCount); + fprintf(stderr, "\rWith eps of %f, %ld has %ld neighbors.", threshold, pFace->faceId, neighborCount); } if (neighborCount < minPts) { @@ -480,7 +480,7 @@ int main(int argc, char *argv[]) { } } - fprintf(stderr, "%ld clusters identified!\n", clusters); + fprintf(stderr, "\n%ld clusters identified!\n", clusters); fprintf(stderr, "%ld NOISE\n", outlier); fprintf(stderr, "%ld UNDEFINED\n", undefined); fprintf(stderr, "%ld CORE\n", core);