mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-27 08:41:58 +00:00
Not working radix
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: mteriier <mteriier@student.lyon42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/12/22 12:33:58 by mteriier #+# #+# */
|
||||
/* Updated: 2025/12/22 12:34:35 by mteriier ### ########.fr */
|
||||
/* Updated: 2026/01/07 10:49:03 by dgaillet ### ########lyon.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -19,14 +19,15 @@
|
||||
int test1(int argc, char **argv)
|
||||
{
|
||||
t_stacks *piles;
|
||||
t_tab *preset;
|
||||
//t_tab *preset;
|
||||
|
||||
piles = NULL;
|
||||
if (argc > 1)
|
||||
{
|
||||
piles = init_big_stacks(argc, argv);
|
||||
preset = get_tabs(piles->a, range_bucket(piles->a));
|
||||
bucket_algo(piles, preset, range_bucket(piles->a));
|
||||
//preset = get_tabs(piles->a, range_bucket(piles->a));
|
||||
//bucket_algo(piles, preset, range_bucket(piles->a));
|
||||
radix(piles);
|
||||
}
|
||||
if (piles->a)
|
||||
stack_clear_all(piles->a, piles->a);
|
||||
|
||||
Reference in New Issue
Block a user