aboutsummaryrefslogtreecommitdiff
path: root/src/r1.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-30 19:14:24 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-30 19:14:24 -0400
commit15e361bb360bdda2941d92af5a82cba49b3fed48 (patch)
tree3fee1979b048529ac7f583b2be38ef481680fa56 /src/r1.bqn
parent1ebfc680ebaf86696ed657ee44f9390ac682bfba (diff)
Fill result of ≢ on an atom correctly
Diffstat (limited to 'src/r1.bqn')
-rw-r--r--src/r1.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r1.bqn b/src/r1.bqn
index f4f6828e..34c90e57 100644
--- a/src/r1.bqn
+++ b/src/r1.bqn
@@ -332,7 +332,7 @@ structConform ← {𝕎◶0‿𝕏}´⟨IsArray⊢, =○=, MatchS○≢⟩
Depth←IsArray◶0‿{1+0⌈´Depth⌜⥊𝕩}
≡ ← Depth ⊘ Match
-≢ ↩ IsArray◶⟨⟩‿≢ ⊘ (1-Match)
+≢ ↩ IsArray◶(↕0)‿≢ ⊘ (1-Match)
IF ← ⊢⊣!∘≡ # Intersect fill
IEF← (0<≠)◶⟨⊢_fillBy_ Fill, ⊢_fillBy_ IF´⟩∘⥊