aboutsummaryrefslogtreecommitdiff
path: root/src/gensvm_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gensvm_init.c')
-rw-r--r--src/gensvm_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gensvm_init.c b/src/gensvm_init.c
index 90ee5cd..d65e307 100644
--- a/src/gensvm_init.c
+++ b/src/gensvm_init.c
@@ -76,7 +76,7 @@ void gensvm_init_V(struct GenModel *from_model,
if (data->Z == NULL) {
// sparse matrix
- int *visit_count = Calloc(int, m+1);
+ long *visit_count = Calloc(long, m+1);
for (i=0; i<n; i++) {
jj_start = data->spZ->ia[i];
jj_end = data->spZ->ia[i+1];