aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/TILE.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/operators/TILE.tosac')
-rw-r--r--pseudocode/operators/TILE.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/TILE.tosac b/pseudocode/operators/TILE.tosac
index d053b8f..be1cfee 100644
--- a/pseudocode/operators/TILE.tosac
+++ b/pseudocode/operators/TILE.tosac
@@ -10,7 +10,7 @@
ERROR_IF(rank(shape1) != rank(shape));
for_each(index in shape) {
- dim_t tmp_index = index;
+ shape_t tmp_index = index;
for(i = 0; i < rank(shape); i++) {
ERROR_IF(shape1[i] * multiples[i] != shape[i]);
tmp_index[i] = index[i] % shape1[i];