1 Commits

Author SHA1 Message Date
1235516c09 FIX: dumb error 2026-01-20 13:39:31 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ static void print_disorder(t_stacks *stacks)
static void print_algo(t_stacks *stacks) static void print_algo(t_stacks *stacks)
{ {
secure_write(2, "[bench] algo: ", 14); secure_write(2, "[bench] strategy: ", 18);
if (stacks->algo == 0) if (stacks->algo == 0)
{ {
secure_write(2, "Adaptive", 8); secure_write(2, "Adaptive", 8);

View File

@@ -30,9 +30,9 @@ void flags(t_stacks *stacks)
{ {
if (stacks->algo == 1) if (stacks->algo == 1)
simple(stacks); simple(stacks);
if (stacks->algo == 1) else if (stacks->algo == 2)
medium(stacks); medium(stacks);
if (stacks->algo == 1) else if (stacks->algo == 3)
complex(stacks); complex(stacks);
else else
adaptive(stacks); adaptive(stacks);