diff options
author | pants <jaron@kent-dobias.com> | 2016-09-06 15:05:27 -0400 |
---|---|---|
committer | pants <jaron@kent-dobias.com> | 2016-09-06 15:05:27 -0400 |
commit | 4c4ebb87ead363d6d6e11a8b95b07a0f93af5c88 (patch) | |
tree | 9cdaaf27917c2b1562740dec501d013e47a25dd1 /src/corr_test.c | |
parent | fd14c5e39d962be94a1f68b0d4cacb7a4aa9c3e7 (diff) | |
download | fuse_networks-4c4ebb87ead363d6d6e11a8b95b07a0f93af5c88.tar.gz fuse_networks-4c4ebb87ead363d6d6e11a8b95b07a0f93af5c88.tar.bz2 fuse_networks-4c4ebb87ead363d6d6e11a8b95b07a0f93af5c88.zip |
finished implementing embedded systems, refactored a bunch
Diffstat (limited to 'src/corr_test.c')
-rw-r--r-- | src/corr_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corr_test.c b/src/corr_test.c index 2c93b8e..e0de2d8 100644 --- a/src/corr_test.c +++ b/src/corr_test.c @@ -8,9 +8,9 @@ int main() { unsigned int width = 64; unsigned int n = pow(width / 2 + 1, 2) + pow((width + 1) / 2, 2); - fnet *network = ini_square_network(width, true, false, &c); - finst *instance = create_instance(network, 1e-14, true, true, &c); - double *fuse_thres = gen_fuse_thres(network->num_edges, network->edge_coords, + graph_t *network = ini_square_network(width, true, false, &c); + net_t *instance = create_instance(network, 1e-14, true, true, &c); + double *fuse_thres = gen_fuse_thres(network->ne, network->edge_coords, 0.001, beta_scaling_flat); fracture_network(instance, fuse_thres, &c, 1e-10); @@ -22,7 +22,7 @@ int main() { printf("\n"); free_instance(instance, &c); - free_fnet(network, &c); + free_net(network, &c); CHOL_F(finish)(&c); |