aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-09-05 10:47:33 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-09-05 10:47:33 -0400
commit2e16b98ce2471dc6a64ae17775828371d5620666 (patch)
tree7a1978f0781111355a21e9e083ae39aa972f95ec /src
parent60b712e7bc4ebb0f59aba506e60f913354d75f90 (diff)
BREAKING: enclose atom argument in ⟨⟩↕atom to align with other 0-axis primitives
Diffstat (limited to 'src')
-rw-r--r--src/r1.bqn2
1 files changed, 1 insertions, 1 deletions
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⌜𝕨