diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-02-03 05:03:07 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-02-03 05:03:07 -0500 |
commit | e5f97aafca24667ed6780a92d9bd451c66454b44 (patch) | |
tree | 385e60e48d7a736f1611b83f9ce81ea2c97b5665 /km-set.c | |
parent | b3d3cebbc3dae2c975b9bb0f0c77f5dc845d7fb8 (diff) | |
download | kmeans-e5f97aafca24667ed6780a92d9bd451c66454b44.tar.bz2 kmeans-e5f97aafca24667ed6780a92d9bd451c66454b44.zip |
s/rand_src/rand/, mv km-rand{-src,}.c
Diffstat (limited to 'km-set.c')
-rw-r--r-- | km-set.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -219,7 +219,7 @@ km_set_init_rand_clusters( km_set_t * const cs, const size_t num_floats, const size_t num_clusters, - km_rand_src_t * const rs + km_rand_t * const rs ) { // init cluster shape const km_shape_t shape = { @@ -229,7 +229,7 @@ km_set_init_rand_clusters( // generate random cluster centers float floats[num_floats * num_clusters]; - if (!km_rand_src_fill(rs, num_floats * num_clusters, floats)) { + if (!km_rand_fill(rs, num_floats * num_clusters, floats)) { // return failure return false; } |