diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-07-01 08:57:00 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-07-01 09:45:49 -0400 |
| commit | 9cdf7da46d5621b8bdaceae82ce1174237d19d97 (patch) | |
| tree | 7211d7730376a94879ffd527dcad99e07cd58489 /test/fuzz.bqn | |
| parent | 15281037815c136b70d1410e4000e570d6ec019a (diff) | |
Fix shape generation issues in search-for argument
Diffstat (limited to 'test/fuzz.bqn')
| -rw-r--r-- | test/fuzz.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fuzz.bqn b/test/fuzz.bqn index 77fccfaf..0043e62d 100644 --- a/test/fuzz.bqn +++ b/test/fuzz.bqn @@ -179,7 +179,7 @@ _testMonSearch ← { # ⊐⊒∊⍷∧∨⍋⍒ _testDySearch ← { # ⊐⊒∊⍋⍒ sh ← RandShape1 𝕩 k ← ⍋‿⍒⊐𝕗 - a‿b ← 𝕨⊸gen.Arith¨ ⟨sh, (RandShape·⌊𝕩÷×´)⊸∾ 1↓sh⟩ + a‿b ← 𝕨⊸gen.Arith¨ ⟨sh, (0⊸<◶⟨-⟜⌊RandShape∘𝕩,RandShape⟩·⌊𝕩÷1⌈×´)⊸∾ 1↓sh⟩ as ← (⊐k) ⊏ {𝕏a}¨(⍷k)⊏∧‿∨‿⊢ as { ! 𝕨 𝕏 _testConsistent_ FlatMatch b }¨ {𝕏˜}⍟(∊˙⊸=)¨ 𝕗 } |
