summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2016-12-02 12:22:59 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2016-12-02 12:22:59 -0500
commitae389fd13e0e6570a0ea866461dfb1b2727718bf (patch)
tree1a3b9600547db30b0c3e9c577ea816a55ff2084c /src
parent24cee5501ea08e9611c514be604cd66ad8a4c03c (diff)
downloadfuse_networks-ae389fd13e0e6570a0ea866461dfb1b2727718bf.tar.gz
fuse_networks-ae389fd13e0e6570a0ea866461dfb1b2727718bf.tar.bz2
fuse_networks-ae389fd13e0e6570a0ea866461dfb1b2727718bf.zip
forgot to change a couple functions
Diffstat (limited to 'src')
-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);
}
}
}