aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/RESIZE.tosac
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2024-01-19 11:08:31 +0000
committerKevin Petit <kevin.petit@arm.com>2024-01-19 11:08:31 +0000
commitfe2fd1e0e2fe9e9b9b6c73d57840187faf899966 (patch)
treeacf2d436ef21199b6b6e518a85793608161a8656 /pseudocode/operators/RESIZE.tosac
parent1c16f5447886826cd86d0fe2893dcd193c42dcec (diff)
downloadspecification-fe2fd1e0e2fe9e9b9b6c73d57840187faf899966.tar.gz
pseudocode: only use commas to separate ranges in for_each statements
The semicolons had no semantic meaning. Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I9447ea24c82a32c8bfe07fcc560f34a696e59831
Diffstat (limited to 'pseudocode/operators/RESIZE.tosac')
-rw-r--r--pseudocode/operators/RESIZE.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/RESIZE.tosac b/pseudocode/operators/RESIZE.tosac
index fd66530..2a90f5f 100644
--- a/pseudocode/operators/RESIZE.tosac
+++ b/pseudocode/operators/RESIZE.tosac
@@ -21,7 +21,7 @@ ERROR_IF(border_y < -16 * scale_y_n || border_y >= scale_y_n);
ERROR_IF(border_x < -16 * scale_x_n || border_x >= scale_x_n);
ERROR_IF(OH != idiv_check((IH - 1) * scale_y_n - offset_y + border_y, scale_y_d) + 1);
ERROR_IF(OW != idiv_check((IW - 1) * scale_x_n - offset_x + border_x, scale_x_d) + 1);
-for_each(0 <= n < N, 0 <= oy < OH, 0 <= ox < OW; 0 <= c < C) {
+for_each(0 <= n < N, 0 <= oy < OH, 0 <= ox < OW, 0 <= c < C) {
out_t acc;
resize_t dx, dy;
resize_t unit_x, unit_y;