summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/corr_test.c2
-rw-r--r--src/net.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corr_test.c b/src/corr_test.c
index 4dc7efc..b6f8a18 100644
--- a/src/corr_test.c
+++ b/src/corr_test.c
@@ -9,7 +9,7 @@ int main() {
graph_t *network = graph_create(VORONOI_LATTICE, TORUS_BOUND, 128, false, &c);
net_t *instance = net_create(network, 1e-14, 3, 0, true, &c);
- net_fracture(instance, &c, 1e-10, 40);
+ net_fracture(instance, &c, 1e-10);
double *corr = get_corr(instance, NULL, &c);
diff --git a/src/net.c b/src/net.c
index 21a2139..b61c9ea 100644
--- a/src/net.c
+++ b/src/net.c
@@ -39,7 +39,7 @@ void net_notch(net_t *net, double notch_len, cholmod_common *c) {
correct_length = v1x < notch_len && v2x < notch_len;
if (crosses_center && not_wrapping && correct_length) {
- break_edge(net, i, c, false);
+ break_edge(net, i, c);
}
}
}