aboutsummaryrefslogtreecommitdiff
path: root/km-init-rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'km-init-rand.c')
-rw-r--r--km-init-rand.c2
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;
}