From e5f97aafca24667ed6780a92d9bd451c66454b44 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 3 Feb 2019 05:03:07 -0500 Subject: s/rand_src/rand/, mv km-rand{-src,}.c --- km-set.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'km-set.c') 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; } -- cgit v1.2.3