We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3cd2a6 commit 720f11dCopy full SHA for 720f11d
amdahl/amdahl.py
@@ -101,6 +101,7 @@ def random_jitter(x, sigma=0.2):
101
sys.stdout.write(
102
"Illegal value for sigma (%f), should be a float between 0 and 1!\n" % sigma
103
"Using 0.2 instead..."
104
+ )
105
sigma = 0.2
106
# random() returns a float between 0 and 1, map between -sigma and +sigma
107
jitter_percent = sigma * ((random.random() * 2) - 1)
0 commit comments