aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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⌜𝕨