aboutsummaryrefslogtreecommitdiff
path: root/km-set.c
diff options
context:
space:
mode:
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;
}