aboutsummaryrefslogtreecommitdiff
path: root/km-init-forgy.c
diff options
context:
space:
mode:
Diffstat (limited to 'km-init-forgy.c')
-rw-r--r--km-init-forgy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/km-init-forgy.c b/km-init-forgy.c
index 687c528..5ff0c12 100644
--- a/km-init-forgy.c
+++ b/km-init-forgy.c
@@ -23,7 +23,7 @@ km_init_forgy(
// get random row offsets
size_t rows[num_clusters];
- if (!km_rand_fill_sizes(rs, num_clusters, rows)) {
+ if (!km_rand_get_sizes(rs, num_clusters, rows)) {
// return failure
return false;
}