aboutsummaryrefslogtreecommitdiff
path: root/km-init-kmeans.c
diff options
context:
space:
mode:
Diffstat (limited to 'km-init-kmeans.c')
-rw-r--r--km-init-kmeans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/km-init-kmeans.c b/km-init-kmeans.c
index e49f879..61d67a7 100644
--- a/km-init-kmeans.c
+++ b/km-init-kmeans.c
@@ -11,7 +11,7 @@ get_random_row(
) {
// get random offset
size_t ofs = 0;
- if (!km_rand_fill_sizes(rs, 1, &ofs)) {
+ if (!km_rand_get_sizes(rs, 1, &ofs)) {
die("km_rand_fill_sizes()");
}
@@ -58,7 +58,7 @@ km_init_kmeans(
// get a random floating point value
float rand_val = 0;
- if (!km_rand_fill(rs, 1, &rand_val)) {
+ if (!km_rand_get_floats(rs, 1, &rand_val)) {
// return failure
return false;
}