aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-08-19 21:51:49 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-08-19 21:51:49 -0400
commit68cd7933fa693f67f98f13f6b66d0e619da49ffe (patch)
tree96ebab479b48dca52a538c44aa218d701215d35f
parent3cccac26dc804704446cd88676dc583f997252fd (diff)
Fix reused name
-rw-r--r--md.bqn6
1 files changed, 3 insertions, 3 deletions
diff --git a/md.bqn b/md.bqn
index 3c461d38..fbf058b6 100644
--- a/md.bqn
+++ b/md.bqn
@@ -95,14 +95,14 @@ Trace ← {
𝕩 ∾↩ 𝕩⊏𝕨 # Add starts following from an enabled one
𝕨 ↩ ⊏˜ 𝕨 # Double the number of steps in 𝕨
𝕨 En 𝕩 # Repeat
- }⍟{end≠¯1⊑𝕩} # until the end is reached
+ }⍟{stop≠¯1⊑𝕩} # until the stop is reached
g ← ⍋𝕨 # Order expressions by starting index
start ← g⊏𝕨
end ← g⊏𝕩
next ← start ⍋ end # An expression's successor starts after it ends
- next ∾↩ end←≠next # The stop node is its own successor
- enabled ← end⊸>⊸/ next En ⋈0 # Search, then remove stops
+ next ∾↩ stop←≠next # The stop node is its own successor
+ enabled ← stop⊸>⊸/ next En ⋈0 # Search, then remove stops
enabled ⊏ start≍˘end # List of enabled starts and ends
}