summaryrefslogtreecommitdiff
path: root/hybrids.c
diff options
context:
space:
mode:
Diffstat (limited to 'hybrids.c')
-rw-r--r--hybrids.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hybrids.c b/hybrids.c
index e7f7f4b..9dc0a43 100644
--- a/hybrids.c
+++ b/hybrids.c
@@ -95,7 +95,7 @@ fnReplicateFirst(Array *left, Array *right)
}
if(result->type == AtypeArray)
for(int j = 0; j < npos*cellsize; j++)
- incref(result->arraydata[to*cellsize+j]);
+ incarrayref(result->arraydata[to*cellsize+j]);
}
freearray(fill);
freearray(left);
@@ -153,7 +153,7 @@ fnExpandFirst(Array *left, Array *right)
}
if(result->type == AtypeArray)
for(int j = 0; j < npos*cellsize; j++)
- incref(result->arraydata[to*cellsize+j]);
+ incarrayref(result->arraydata[to*cellsize+j]);
if(right->shape[0] != 1 && !neg)
from++;
}