summaryrefslogtreecommitdiff
path: root/src/get_current.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/get_current.c')
-rw-r--r--src/get_current.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/get_current.c b/src/get_current.c
index 8493370..a83c399 100644
--- a/src/get_current.c
+++ b/src/get_current.c
@@ -27,9 +27,7 @@ double *get_voltage(const net_t *instance, cholmod_common *c) {
double *get_current(const net_t *instance, cholmod_common *c) {
unsigned int num_edges = instance->graph->ne;
- unsigned int num_verts = instance->graph->nv_break;
unsigned int num_gverts = instance->graph->break_dim;
- unsigned int num_bounds = instance->graph->num_bounds;
cholmod_sparse *voltcurmat = instance->graph->voltcurmat;
double *voltages = get_voltage(instance, c);
@@ -68,9 +66,7 @@ double *get_current(const net_t *instance, cholmod_common *c) {
double *get_current_v(const net_t *instance, double *voltages, cholmod_common *c) {
unsigned int num_edges = instance->graph->ne;
- unsigned int num_verts = instance->graph->nv_break;
unsigned int num_gverts = instance->graph->break_dim;
- unsigned int num_bounds = instance->graph->num_bounds;
cholmod_sparse *voltcurmat = instance->graph->voltcurmat;
cholmod_dense *x = CHOL_F(allocate_dense)(