summaryrefslogtreecommitdiff
path: root/src/gen_voltcurmat.c
diff options
context:
space:
mode:
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++) {