From 7792c60180c404c7de1277ea571eb16f83f68441 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 3 Sep 2022 14:30:52 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20unnecessary=20errors=20with=20computed=20?= =?UTF-8?q?shape=200,=20such=20as=201e8=E2=80=BF=E2=8C=8A=E2=80=BF1e8?= =?UTF-8?q?=E2=A5=8A=E2=86=955?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/builtins/sfns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/builtins/sfns.c b/src/builtins/sfns.c index b10e8359..5979cd72 100644 --- a/src/builtins/sfns.c +++ b/src/builtins/sfns.c @@ -147,6 +147,7 @@ B shape_c2(B t, B w, B x) { unkPos = i; if (!isPrim(c)) thrM("⥊: 𝕨 must consist of natural numbers or ∘ ⌊ ⌽ ↑"); unkInd = ((i32)v(c)->flags) - 1; + good|= xia==0 | unkInd==n_floor; } } if (bad && !good) thrM("⥊: 𝕨 too large");