diff options
Diffstat (limited to 'km-set.c')
-rw-r--r-- | km-set.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |