summaryrefslogtreecommitdiff
path: root/snippets/python-mode/numpy-random-seed
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-07-13 19:05:34 -0400
committerKyle Meyer <kyle@kyleam.com>2014-07-13 19:05:34 -0400
commit4f7cce107cf77ddd36702995c83f108b374cb5c3 (patch)
treedf0dfdb1d5c333fc17902a350a888fa3675c02ac /snippets/python-mode/numpy-random-seed
parent0b51cac9a2800088ac5bd28549a016d0a4a58357 (diff)
downloademacs.d-4f7cce107cf77ddd36702995c83f108b374cb5c3.tar.gz
Decrease upper bound for NumPy random seed snippet
numpy.random.mtrand bounds at 4294967295.
Diffstat (limited to 'snippets/python-mode/numpy-random-seed')
-rw-r--r--snippets/python-mode/numpy-random-seed2
1 files changed, 1 insertions, 1 deletions
diff --git a/snippets/python-mode/numpy-random-seed b/snippets/python-mode/numpy-random-seed
index 1be05ec..6022be3 100644
--- a/snippets/python-mode/numpy-random-seed
+++ b/snippets/python-mode/numpy-random-seed
@@ -2,5 +2,5 @@
# name: numpy random seed
# key: nrs
# --
-np.random.seed(`(random most-positive-fixnum)`)
+np.random.seed(`(random 4294967295)`)
$0