aboutsummaryrefslogtreecommitdiff
path: root/km-set.c
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-02-03 05:03:07 -0500
committerPaul Duncan <pabs@pablotron.org>2019-02-03 05:03:07 -0500
commite5f97aafca24667ed6780a92d9bd451c66454b44 (patch)
tree385e60e48d7a736f1611b83f9ce81ea2c97b5665 /km-set.c
parentb3d3cebbc3dae2c975b9bb0f0c77f5dc845d7fb8 (diff)
downloadkmeans-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/km-set.c b/km-set.c
index 5b9ae4c..63ec22a 100644
--- a/km-set.c
+++ b/km-set.c
@@ -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;
}