aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-29 21:09:29 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-29 21:09:29 -0400
commit3f5ab730a040ce1dbf39cc79daa332b57a9f0cca (patch)
tree999415976d750a2eb27fd438949d96770dbe6ab1 /src
parent9a02c3ca3be3e8dfbe0e356b97131b6881638b55 (diff)
Don't use primitive comparisons for HomFil
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 d32df7b5..498784e4 100644
--- a/src/r1.bqn
+++ b/src/r1.bqn
@@ -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≥=𝕩