From: François Fleuret Date: Sun, 2 Jul 2023 17:13:09 +0000 (+0200) Subject: Update. X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=abebc8df53908d9f395ae2d9e20d8b00fd50ae4e;p=picoclvr.git Update. --- 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()