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