mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-27 00:41:57 +00:00
doing the norm
This commit is contained in:
@@ -64,7 +64,7 @@ int range_bucket(t_stack *first)
|
||||
int sqrt;
|
||||
|
||||
len = stack_len(first);
|
||||
diff = (get_max_number(first) - get_min_number(first)) ;
|
||||
diff = get_max_number(first) - get_min_number(first);
|
||||
sqrt = my_sqrt(len);
|
||||
if (diff / sqrt < 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user