From 1e1fdfc2e3892667bccaf317a01defd8832041c7 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 16 Jan 2017 01:31:10 -0500 Subject: fixed voltage and torus conditions, current and free boundaries and broken right now --- src/get_dual_clusters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/get_dual_clusters.c') diff --git a/src/get_dual_clusters.c b/src/get_dual_clusters.c index 3a51c38..78bf185 100644 --- a/src/get_dual_clusters.c +++ b/src/get_dual_clusters.c @@ -2,7 +2,7 @@ #include "fracture.h" unsigned int *get_clusters(net_t *instance, cholmod_common *c) { - cholmod_sparse *s_dual = gen_adjacency(instance, true, false, 0, c); + cholmod_sparse *s_dual = gen_adjacency(instance, true, false, true, c); unsigned int *dual_marks = find_components(s_dual, 0); CHOL_F(free_sparse)(&s_dual, c); -- cgit v1.2.3-70-g09d2