aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-04-01 15:04:00 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-04-01 15:04:00 -0400
commite07f1ccf213f1f9c63f5da8427799fd13dfcab99 (patch)
tree04b26c9436323c6dc5bf0b182178e31bcf77eec3 /test
parent53d823956b7fae503ca4d614312b8b2f60647bed (diff)
Avoid ⊑ of empty in fuzz testing
Diffstat (limited to 'test')
-rw-r--r--test/fuzz.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fuzz.bqn b/test/fuzz.bqn
index e71ff5b7..afe4dbc0 100644
--- a/test/fuzz.bqn
+++ b/test/fuzz.bqn
@@ -196,7 +196,7 @@ _testSelect ← { # /⊏
d ← 𝕨 gen.Struct sh
RandInd ← 0⊸≠◶⟨⟨⟩,gen.Index⟜(⥊‿RandShape _randChoose)˜⟩
g ← ({⊏} = 𝕗) ⊏ RandRep‿RandInd
- g { ! (n𝕎 ⊑sh) 𝕏 _testConsistent_ ≡ d }¨ 𝕗
+ g { ! (n𝕎 0⊣´sh) 𝕏 _testConsistent_ ≡ d }¨ 𝕗
g { ! (l𝕎¨l≠⊸↑sh) 𝕏 _testConsistent_ ≡ d }⍟((0<≠l)∨⊔˙⊸≠)¨ 𝕗
}