diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-17 15:53:57 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-17 15:53:57 -0500 |
| commit | 1ee3d8ddcb8bb96172cb9874c69f838caf8d0297 (patch) | |
| tree | 564fbba46732e3fcf227963ed51ca6513865cde7 /src | |
| parent | c06d1ac3ccbc0e7687886bb6a0418ca0b8aa8f76 (diff) | |
Fix handling of empty arguments in ProgressiveIndexOf
Diffstat (limited to 'src')
| -rw-r--r-- | src/r.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -545,7 +545,7 @@ ReorderAxesInv←{ ⍉ ← Transpose ⊘ ReorderAxes OccurrenceCount ← ⊐˜(⊢-⊏)⍋∘⍋ -ProgressiveIndexOf ← {𝕨⊐○(≍˘⟜OccurrenceCount𝕨⊸⊐)𝕩} +ProgressiveIndexOf ← {𝕨⊐○((≠∾2˙)⥊·≍˘⟜OccurrenceCount𝕨⊸⊐)𝕩} ⊏ ← (<0)⊸GetCells ⊘ (ToArray⊸(SelSub _onAxes_ 1)) ⊑ ↩ (0⊑⥊) ⊘ Pick |
