summaryrefslogtreecommitdiff
path: root/src/coursegrain.c
diff options
context:
space:
mode:
authorpants <jaron@kent-dobias.com>2016-09-07 14:55:30 -0400
committerpants <jaron@kent-dobias.com>2016-09-07 14:55:30 -0400
commit873a9f9bedbbfb07d475e271923a7b86464e515f (patch)
tree8c8b8e2ebcd45a9bf9174a7e22153e8c3261f419 /src/coursegrain.c
parent805794c6e8b7c16e6219f75076fcbc76221d551d (diff)
downloadfuse_networks-873a9f9bedbbfb07d475e271923a7b86464e515f.tar.gz
fuse_networks-873a9f9bedbbfb07d475e271923a7b86464e515f.tar.bz2
fuse_networks-873a9f9bedbbfb07d475e271923a7b86464e515f.zip
more major refactoring
Diffstat (limited to 'src/coursegrain.c')
-rw-r--r--src/coursegrain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coursegrain.c b/src/coursegrain.c
index 1e0d5a7..3e9db1a 100644
--- a/src/coursegrain.c
+++ b/src/coursegrain.c
@@ -5,7 +5,7 @@ net_t *coursegrain_square(net_t *instance, graph_t *network_p, cholmod_common *c
unsigned int width = sqrt(instance->graph->ne);
assert(width % 4 == 0);
- net_t *instance_p = create_instance(network_p, instance->inf,
+ net_t *instance_p = create_instance(network_p, instance->inf, 1,
instance->voltage_bound, true, c);
unsigned int width_p = width / 2;