summaryrefslogtreecommitdiff
path: root/src/gen_laplacian.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_laplacian.c')
-rw-r--r--src/gen_laplacian.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gen_laplacian.c b/src/gen_laplacian.c
index 4196937..16054e3 100644
--- a/src/gen_laplacian.c
+++ b/src/gen_laplacian.c
@@ -94,7 +94,6 @@ cholmod_sparse *gen_laplacian(const net_t *instance, cholmod_common *c,
bool symmetric) {
const graph_t *network = instance->graph;
unsigned int num_verts = network->nv_break;
- double *vert_coords = network->vx;
unsigned int num_bounds = network->num_bounds;
double inf = instance->inf;
bool voltage_bound = instance->voltage_bound;
@@ -129,7 +128,6 @@ cholmod_sparse *gen_laplacian(const net_t *instance, cholmod_common *c,
cholmod_sparse *adjacency = gen_adjacency(instance, false, true, (int)num_gverts - (int)num_verts, c);
int_t *ia = (int_t *)adjacency->p;
- int_t *ja = (int_t *)adjacency->i;
double *aa = (double *)adjacency->x;
for (unsigned int i = 0; i < num_verts; i++) {