aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-02-03 05:03:07 -0500
committerPaul Duncan <pabs@pablotron.org>2019-02-03 05:03:07 -0500
commite5f97aafca24667ed6780a92d9bd451c66454b44 (patch)
tree385e60e48d7a736f1611b83f9ce81ea2c97b5665 /main.c
parentb3d3cebbc3dae2c975b9bb0f0c77f5dc845d7fb8 (diff)
downloadkmeans-e5f97aafca24667ed6780a92d9bd451c66454b44.tar.bz2
kmeans-e5f97aafca24667ed6780a92d9bd451c66454b44.zip
s/rand_src/rand/, mv km-rand{-src,}.c
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index bd4192f..af04121 100644
--- a/main.c
+++ b/main.c
@@ -16,7 +16,7 @@
#define NUM_TESTS 100
typedef struct {
- km_rand_src_t rs;
+ km_rand_t rs;
struct {
float distance,
@@ -220,7 +220,7 @@ int main(int argc, char *argv[]) {
// init find data
find_t find_data;
memset(find_data.rows, 0, sizeof(find_data.rows));
- km_rand_src_system_init(&(find_data.rs));
+ km_rand_init_system(&(find_data.rs));
// init data set
km_set_t set;