fix: prevent users from settings a growthfactor=1
- This always causes errors, it should not be possible.
This commit is contained in:
@@ -50,7 +50,7 @@ func FuzzInsertLookup(f *testing.F) {
|
||||
}
|
||||
|
||||
seedA, seedB := scenario.seedA, scenario.seedB
|
||||
growthFactor := max(1, int(scenario.growthFactor))
|
||||
growthFactor := max(2, int(scenario.growthFactor))
|
||||
capacity := int(scenario.capacity)
|
||||
minimumLoad := math.Abs(math.Mod(scenario.load, 1.0))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user