diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-07-13 19:05:34 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-07-13 19:05:34 -0400 |
commit | 4f7cce107cf77ddd36702995c83f108b374cb5c3 (patch) | |
tree | df0dfdb1d5c333fc17902a350a888fa3675c02ac /snippets | |
parent | 0b51cac9a2800088ac5bd28549a016d0a4a58357 (diff) | |
download | emacs.d-4f7cce107cf77ddd36702995c83f108b374cb5c3.tar.gz |
Decrease upper bound for NumPy random seed snippet
numpy.random.mtrand bounds at 4294967295.
Diffstat (limited to 'snippets')
-rw-r--r-- | snippets/python-mode/numpy-random-seed | 2 |
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 |