aboutsummaryrefslogtreecommitdiff
path: root/client.py
diff options
context:
space:
mode:
authorbeadleha <beadleha@clarkson.edu>2015-07-14 07:09:44 +0000
committerbeadleha <beadleha@clarkson.edu>2015-07-14 07:09:44 +0000
commitf39669278434d86ffaf119ccde2490f8ffe2ffea (patch)
tree3c32df05aee44bcad8809ffed632f5b6945166d2 /client.py
parentd938708c3e697a3c6b1c4b8a4f0680c8c66bc68c (diff)
(Bugfix)
Diffstat (limited to 'client.py')
-rw-r--r--client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.py b/client.py
index b4ad7d3..bfdb8cd 100644
--- a/client.py
+++ b/client.py
@@ -74,7 +74,7 @@ def square_wave(theta):
@generator('Random (noise) generator')
def noise(theta):
- return math.random() * 2 - 1
+ return random.random() * 2 - 1
@generator('File generator', '(<file>[, <bits=8>[, <signed=True>[, <0=linear interp (default), 1=nearest>[, <swapbytes=False>]]]])')
class file_samp(object):