script update
This commit is contained in:
@@ -11,7 +11,7 @@ def generate_test_values(noise_bits, number, p_bits):
|
||||
|
||||
max_noise = (1 << noise_bits) - 1 # 2^noise_bits - 1
|
||||
|
||||
a = [str(p * random.randint(1, 2) + random.randint(0, max_noise)) for _ in range(number)]
|
||||
a = [str(p * random.randint(1, max_noise) + random.randint(0, max_noise)) for _ in range(number)]
|
||||
|
||||
return noise_bits, a, p
|
||||
|
||||
|
||||
Reference in New Issue
Block a user