mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-26 16:31:58 +00:00
FIX: dumb error
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user