summaryrefslogtreecommitdiff
path: root/src/get_current.c
diff options
context:
space:
mode:
authorpants <jaron@kent-dobias.com>2016-09-08 12:28:07 -0400
committerpants <jaron@kent-dobias.com>2016-09-08 12:28:07 -0400
commit0b6e6a4337e8e9b6728f3604bb61a59365be3446 (patch)
tree389798c8a4638506a236a276e6847d65648f6640 /src/get_current.c
parentcf272339a3b72cf192ba986d37e50de16a4cbe49 (diff)
downloadfuse_networks-0b6e6a4337e8e9b6728f3604bb61a59365be3446.tar.gz
fuse_networks-0b6e6a4337e8e9b6728f3604bb61a59365be3446.tar.bz2
fuse_networks-0b6e6a4337e8e9b6728f3604bb61a59365be3446.zip
src/bound_set.c
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)(