From fd14c5e39d962be94a1f68b0d4cacb7a4aa9c3e7 Mon Sep 17 00:00:00 2001 From: pants Date: Fri, 2 Sep 2016 15:24:34 -0400 Subject: embedded systems with crack fully supported --- src/ini_network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ini_network.c') diff --git a/src/ini_network.c b/src/ini_network.c index 263b1b2..d80f43b 100644 --- a/src/ini_network.c +++ b/src/ini_network.c @@ -604,7 +604,7 @@ fnet *ini_voronoi_network(unsigned int L, bound_t boundary, bool use_dual, break; } case EMBEDDED_BOUND: { - num_bounds = 2; + num_bounds = 4; bound_inds = (unsigned int *)malloc(5 * sizeof(unsigned int)); bound_verts = (unsigned int *)malloc(2 * L * sizeof(unsigned int)); for (unsigned int i = 0; i < 5; i++) bound_inds[i] = i * L / 2; @@ -622,7 +622,7 @@ fnet *ini_voronoi_network(unsigned int L, bound_t boundary, bool use_dual, network->num_verts = num_verts; network->edges_to_verts_break = edges; network->edges_to_verts = edges; - network->break_dim = num_verts + num_bounds; + network->break_dim = num_verts + 2; } } -- cgit v1.2.3-70-g09d2