diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-29 21:09:29 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-29 21:09:29 -0400 |
| commit | 3f5ab730a040ce1dbf39cc79daa332b57a9f0cca (patch) | |
| tree | 999415976d750a2eb27fd438949d96770dbe6ab1 /src | |
| parent | 9a02c3ca3be3e8dfbe0e356b97131b6881638b55 (diff) | |
Don't use primitive comparisons for HomFil
Diffstat (limited to 'src')
| -rw-r--r-- | src/r1.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,6 +267,7 @@ SelSub←{ First ← IsArray◶⟨⊢, (0<≠)◶⟨Fill,0⊸⊑⟩⥊⟩ IsPure ← {d←Decompose𝕩 ⋄ 2⊸≤◶⟨≤⟜0, 1×´·𝕊⌜1↓d˙⟩0⊑d} +HomFil ← {((𝕎0) Fill 𝕏)⊘𝕏}⍟("=≠≡≢"_glyphLookup_(<⟜4⌜↕5)∘⊣) _fillByPure_←{ 𝕘 (3≤Type∘⊣)◶⟨{𝕨Fill𝕏},{(𝕨HomFil𝕩)_fillBy_𝕨}⍟(IsPure⊣)⟩ 𝕗 } @@ -614,7 +615,6 @@ GroupGen←{ + ↩ + _perv - ↩ - _perv ¬ ← 1+- -HomFil ← {((𝕎0) Fill 𝕏)⊘𝕏}⍟(+´⟨=,≠,≡,≢⟩=⊣) ValidateRanks←{ "⎉ or ⚇: 𝔽 result must have rank at most 1" ! 1≥=𝕩 |
