From 383b72b986656f655c0383f2daf29e809e03ee8c Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 1 Apr 2022 16:54:43 -0400 Subject: Fix swapped length and max in a random generation call --- test/fuzz.bqn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/fuzz.bqn b/test/fuzz.bqn index afe4dbc0..fda20f1a 100644 --- a/test/fuzz.bqn +++ b/test/fuzz.bqn @@ -114,7 +114,7 @@ gen ← { ch_end ← 17×2⋆16 ⋄ surr ← (2⋆11)×27+↕2 Char ⇐ Squeeze @ + ·(1≠surr⊸⍋)⊸× (0≍ch_end⌊2⋆2⋆⊣)⊸RandInterval - Struct ⇐ ⊢ ⥊ =⟜6◶⟨RandInt‿(@+(ch_end⌊2⋆2⋆⊣)⊸Rand˜)_randChoose,RandFloat⊢⟩⟜(×´⥊) + Struct ⇐ ⊢ ⥊ =⟜6◶⟨RandInt‿(@+(ch_end⌊2⋆2⋆⊣)Rand˜⊢)_randChoose,RandFloat⊢⟩⟜(×´⥊) } _testConsistent_ ← {Match←𝔾 -- cgit v1.2.3