From 2e16b98ce2471dc6a64ae17775828371d5620666 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Mon, 5 Sep 2022 10:47:33 -0400 Subject: =?UTF-8?q?BREAKING:=20enclose=20atom=20argument=20in=20=E2=9F=A8?= =?UTF-8?q?=E2=9F=A9=E2=86=95atom=20to=20align=20with=20other=200-axis=20p?= =?UTF-8?q?rimitives?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/r1.bqn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/r1.bqn b/src/r1.bqn index 2bd1aa72..ab63c139 100644 --- a/src/r1.bqn +++ b/src/r1.bqn @@ -668,7 +668,7 @@ Range ← IsArray◶(↕⊣RangeCheck)‿{ } Windows←{ "𝕨↕𝕩: 𝕨 must have rank at most 1" ! 1≥=𝕨 - r←≠𝕨↩Deshape 𝕨 + r←≠𝕨↩Deshape 𝕨 ⋄ 𝕩↩ToArray𝕩 𝕨{ "𝕨↕𝕩: Length of 𝕨 must be at most rank of 𝕩" ! r≤=𝕩 "𝕨↕𝕩: 𝕨 must consist of natural numbers" ! ×´Nat⌜𝕨 -- cgit v1.2.3