aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/RECIPROCAL.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/operators/RECIPROCAL.tosac')
-rw-r--r--pseudocode/operators/RECIPROCAL.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/RECIPROCAL.tosac b/pseudocode/operators/RECIPROCAL.tosac
index 9bc086b..986462c 100644
--- a/pseudocode/operators/RECIPROCAL.tosac
+++ b/pseudocode/operators/RECIPROCAL.tosac
@@ -8,7 +8,7 @@
// by a licensing agreement from ARM Limited.
for_each(index in shape) {
- in_out_t value1 = tensor_read<in_out_t>(input1, shape1, index);
+ in_out_t value1 = tensor_read<in_out_t>(input1, shape, index);
in_out_t result = 1.0 / value1;
tensor_write<in_out_t>(output, shape, index, result);
}