From f8f1b43539d7337d0ff70b5fe54836d8b9bde653 Mon Sep 17 00:00:00 2001 From: Maoake Teriierooiterai Date: Mon, 12 Jan 2026 16:18:17 +0100 Subject: [PATCH] fix the adaptive --- flags/algorithms_sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flags/algorithms_sort.c b/flags/algorithms_sort.c index 3cc4c18..4ba0196 100644 --- a/flags/algorithms_sort.c +++ b/flags/algorithms_sort.c @@ -60,7 +60,7 @@ void adaptive(t_stacks *stacks, char **tab) disorder = compute_disorder(tab, i - 1); if (disorder < 0.3) simple(stacks); - else if (disorder < 0.46) + else if (disorder < 0.5) medium(stacks); else complex(stacks);