diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-02-04 11:18:30 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-02-04 11:18:30 -0500 |
commit | f4a38b43d43f9395d6042d234a5e0ada7455ace1 (patch) | |
tree | 6357eac32d23a1fcaad5f4a8dd457a78f286855a /km-init-rand.c | |
parent | 33e7c5bfdb9099e915876b8dbf6d3129459c2bc3 (diff) | |
download | kmeans-f4a38b43d43f9395d6042d234a5e0ada7455ace1.tar.bz2 kmeans-f4a38b43d43f9395d6042d234a5e0ada7455ace1.zip |
refactor random names
Diffstat (limited to 'km-init-rand.c')
-rw-r--r-- | km-init-rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/km-init-rand.c b/km-init-rand.c index c6000bd..1f59da8 100644 --- a/km-init-rand.c +++ b/km-init-rand.c @@ -23,7 +23,7 @@ km_init_rand( // generate random cluster centers float floats[num_floats * num_clusters]; - if (!km_rand_fill(rs, num_floats * num_clusters, floats)) { + if (!km_rand_get_floats(rs, num_floats * num_clusters, floats)) { // return failure return false; } |