From 2d0d66b6e62323d31c6484bdf75a9fdd69516749 Mon Sep 17 00:00:00 2001 From: Katie <5213160+KatieLG@users.noreply.github.com> Date: Sun, 15 Dec 2024 21:06:06 +0000 Subject: [PATCH] change uiua recursion limit for tests --- .github/workflows/uiua-tests.yaml | 2 ++ AOC/uiua/solutions/day10.ua | 8 ++++---- AOC/uiua/tests/test_solutions.ua | 24 +++++++++++------------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/uiua-tests.yaml b/.github/workflows/uiua-tests.yaml index abaaea0..b8459bf 100644 --- a/.github/workflows/uiua-tests.yaml +++ b/.github/workflows/uiua-tests.yaml @@ -28,3 +28,5 @@ jobs: - name: Run uiua tests run: uiua run tests/test_solutions.ua + env: + UIUA_RECURSION_LIMIT: 1000 diff --git a/AOC/uiua/solutions/day10.ua b/AOC/uiua/solutions/day10.ua index bcca8fb..f9322fd 100644 --- a/AOC/uiua/solutions/day10.ua +++ b/AOC/uiua/solutions/day10.ua @@ -5,10 +5,10 @@ Input ← ( ⊜∵⋕≠,@\n # convert to number grid ) -W ← ⧻⊢Input -H ← ⧻Input -Valid ← /↧[⊃⊓(