diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-10 13:47:33 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-10 13:47:33 -0500 |
| commit | 66bda3a2f3d7d68871c9c9857c101f8ac03bff00 (patch) | |
| tree | ffb8dfe1dd74de04424d3bfe98b9f5758a971d45 /src | |
| parent | 95299cae10020799659f53d97745c19ab7c3253c (diff) | |
Fix direction error in longest common substring implementation
Diffstat (limited to 'src')
| -rw-r--r-- | src/c.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ ReadNums←{ Parse ← {r‿vn‿ind←𝕨⋄nv←≠vn ErrMismatchedBrackets←{ - Lcs ← ¯1 ⊑ 0˘∘⊢ {𝕩⌈⌈`𝕨+«𝕩}˝ =⌜ + Lcs ← ¯1 ⊑ 0¨∘⊢ {𝕩⌈⌈`𝕨+»𝕩}˝ =⌜⟜⌽ _mis_ ← {"Missing "∾𝕗∾" "∾charSet⊏˜𝕘+⊢/˜≠∘⊣=⊒} Msg ← >○≠◶⟨"opening"_mis_ 0, "closing"_mis_ 1˜⟩ 0 !˜ 𝕨 (Lcs<⌊○≠)◶⟨Msg,"Malformed bracket nesting"⟩ 𝕩 |
