From abebc8df53908d9f395ae2d9e20d8b00fd50ae4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Sun, 2 Jul 2023 19:13:09 +0200 Subject: [PATCH] Update. --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index bb1e7b4..8c4b7a1 100755 --- a/main.py +++ b/main.py @@ -968,7 +968,9 @@ class TaskStack(Task): ) #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - input = self.test_input[:10, :50] + l=50 + l=l-l%(1+self.nb_digits) + input = self.test_input[:10, :l] result = input.clone() stack.remove_popped_values(result, self.nb_stacks, self.nb_digits) ar_mask = (result != input).long() -- 2.39.5