FIX: dumb error

This commit is contained in:
2026-01-20 13:39:31 +01:00
parent e947183aab
commit 1235516c09
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)
{
secure_write(2, "[bench] algo: ", 14);
secure_write(2, "[bench] strategy: ", 18);
if (stacks->algo == 0)
{
secure_write(2, "Adaptive", 8);

View File

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