aboutsummaryrefslogtreecommitdiff
path: root/impl.bqn
diff options
context:
space:
mode:
Diffstat (limited to 'impl.bqn')
-rw-r--r--impl.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/impl.bqn b/impl.bqn
index 6efef2c6..83a70461 100644
--- a/impl.bqn
+++ b/impl.bqn
@@ -303,7 +303,7 @@ Pick←IsArray◶⥊‿⊢⊸Pickd
IndexOf←{
c←1-˜=𝕨
! 0≤c
- 𝕨 (0<≠𝕨)◶⟨0⎉c∘⊢,(+˝∧`)≢⎉c⎉c‿∞⟩ 𝕩
+ 𝕨 (0<≠𝕨)◶⟨0⎉c∘⊢,(+˝∧`)≢⌜○((0<c)◶⟨⊢,<⎉c⟩)⟩ 𝕩
}
UniqueMask←{
! 1≤=𝕩