summaryrefslogtreecommitdiff
path: root/src/gen_voltcurmat.c
diff options
context:
space:
mode:
authorpants <jaron@kent-dobias.com>2016-08-31 11:57:40 -0400
committerpants <jaron@kent-dobias.com>2016-08-31 11:57:40 -0400
commit0f6782c9e5a9171d69d8e62dff33a558ba542d58 (patch)
tree79ebe235b2c9fb957946428e87d2629f07dfde10 /src/gen_voltcurmat.c
parentc2164e4a38b79c8a02bd7c0f4481f222c7b4dae6 (diff)
downloadfuse_networks-0f6782c9e5a9171d69d8e62dff33a558ba542d58.tar.gz
fuse_networks-0f6782c9e5a9171d69d8e62dff33a558ba542d58.tar.bz2
fuse_networks-0f6782c9e5a9171d69d8e62dff33a558ba542d58.zip
did some refactoring
Diffstat (limited to 'src/gen_voltcurmat.c')
-rw-r--r--src/gen_voltcurmat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen_voltcurmat.c b/src/gen_voltcurmat.c
index ab16150..e870140 100644
--- a/src/gen_voltcurmat.c
+++ b/src/gen_voltcurmat.c
@@ -9,8 +9,8 @@ cholmod_sparse *gen_voltcurmat(unsigned int num_edges, unsigned int num_verts,
num_edges, num_verts, num_edges * 2, 0, CHOLMOD_REAL, c);
assert(t_m != NULL);
- CHOL_INT *rowind = (CHOL_INT *)t_m->i;
- CHOL_INT *colind = (CHOL_INT *)t_m->j;
+ int_t *rowind = (int_t *)t_m->i;
+ int_t *colind = (int_t *)t_m->j;
double *acoo = (double *)t_m->x;
for (unsigned int i = 0; i < num_edges; i++) {