summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2022-01-10 19:32:39 +0000
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2022-01-10 19:32:39 +0000
commit6c964eb54c0056d14a1b929dc09c75240a585cea (patch)
tree3c57d83be54c151f5a7f5b9596e87b5e425982fc /array.c
parent0b8bd8e88f2620992310c7ba41283f5d9120e371 (diff)
Implement ( expr ) and improve stranding
Diffstat (limited to 'array.c')
-rw-r--r--array.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/array.c b/array.c
index 4f904e1..9feb132 100644
--- a/array.c
+++ b/array.c
@@ -16,6 +16,7 @@ mkarray(arrayDataType t, int rank, int size)
a->rank = rank;
a->type = t;
a->size = size;
+ a->stranded = 0;
a->shape = malloc(sizeof(int) * rank);
a->rawdata = malloc(datasizes[t] * size);
a->type = t;