From cd32c3baf4f54aa8641556f3f00d389767bb740f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Mogu=C3=A9rou?= Date: Tue, 16 Apr 2024 02:47:59 +0200 Subject: [PATCH] fix affichage --- Makefile | 2 +- src/algorithm.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0f7cd2e..7707d2f 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ LFLAGS= all: bin/colloscope test: bin/colloscope - bin/colloscope -v MP2I-creneaux.txt 33 MP2I-colleurs.txt 16 6 15 output.csv + bin/colloscope -q MP2I-creneaux.txt 33 MP2I-colleurs.txt 16 6 15 output.csv OBJECTS = obj/structure.o obj/algorithm.o obj/display.o obj/logger.o obj/main.o bin/colloscope: $(OBJECTS) diff --git a/src/algorithm.c b/src/algorithm.c index 4073051..ff6d5f2 100644 --- a/src/algorithm.c +++ b/src/algorithm.c @@ -1081,6 +1081,7 @@ void aux_2(creneau* edt, int len_edt, colleur* chads, int len_chads, int n_group int skipped = 0; int a = 0; info("Testing %d combinations...", n_sim); + printf("\n"); for(int k = 0; k < n_sim*(1 - (max_score == n_groups*100)); k++) { if(k >= a) { printf("\x1b[1F");