From c6e1c83f93f63a061f0804821ed29c656da38f28 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Tue, 8 Feb 2022 16:03:10 +0000 Subject: Add work in progress concurrency. Might break stuff! --- hybrids.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hybrids.c') 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++; } -- cgit v1.2.3