]> Untitled Git - axy/ft/pushswap.git/commitdiff
Fixed checker small error case
author= <=>
Fri, 19 Dec 2025 11:04:28 +0000 (12:04 +0100)
committer= <=>
Fri, 19 Dec 2025 11:04:28 +0000 (12:04 +0100)
main_checker.c

index b4174a5bc0bc0f9c62db6061b91668c3ce967dbc..69047e67834874d2bd92b9f48713411c212244f5 100644 (file)
@@ -6,7 +6,7 @@
 /*   By: clefrere <clefrere@student.42.fr>          +#+  +:+       +#+        */
 /*                                                +#+#+#+#+#+   +#+           */
 /*   Created: 2025/12/02 22:15:12 by agilliar          #+#    #+#             */
-/*   Updated: 2025/12/18 17:11:15 by agilliar         ###   ########.fr       */
+/*   Updated: 2025/12/19 12:03:38 by agilliar         ###   ########.fr       */
 /*                                                                            */
 /* ************************************************************************** */
 
@@ -22,12 +22,14 @@ int main(int argc, char **argv)
        t_stacks        stacks;
        int                     i;
        t_ops           ops;
+       t_frac          _disorder;
 
        i = 1;
        stacks = stacks_new();
        while (i < argc)
                arg_step(argv[i++], &stacks);
        ops = ops_stackops();
+       output_disorder(&_disorder);
        stacks_apply(&stacks, &ops, &algorithm_stdin);
        output_flush();
        eoutput_flush();