aboutsummaryrefslogtreecommitdiff
path: root/src/km-rand-path.c
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-02-05 03:51:13 -0500
committerPaul Duncan <pabs@pablotron.org>2019-02-05 03:51:13 -0500
commit7907db7627aafa35a45f7246e79f5369b6714828 (patch)
treee66dd3c36b1204d4ad5fee65882acb380bc92de1 /src/km-rand-path.c
parent4041516e6cca8a44de6cb7f7e6feb0930df4c1b6 (diff)
downloadkmeans-7907db7627aafa35a45f7246e79f5369b6714828.tar.bz2
kmeans-7907db7627aafa35a45f7246e79f5369b6714828.zip
populate README, clean up comments, remove unused includes
Diffstat (limited to 'src/km-rand-path.c')
-rw-r--r--src/km-rand-path.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/km-rand-path.c b/src/km-rand-path.c
index 6597038..c1d011d 100644
--- a/src/km-rand-path.c
+++ b/src/km-rand-path.c
@@ -114,7 +114,8 @@ PATH_RAND_CBS = {
.fini = on_fini,
};
-// init system random source (uses system rand())
+// init random source from a file (e.g. "/dev/urandom")
+// (NOTE: this method is horribly slow, don't use it)
bool
km_rand_init_path(
km_rand_t * const rs,