aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/LOGICAL_XOR.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/operators/LOGICAL_XOR.tosac')
-rw-r--r--pseudocode/operators/LOGICAL_XOR.tosac4
1 files changed, 2 insertions, 2 deletions
diff --git a/pseudocode/operators/LOGICAL_XOR.tosac b/pseudocode/operators/LOGICAL_XOR.tosac
index fbb485b..08fa6bd 100644
--- a/pseudocode/operators/LOGICAL_XOR.tosac
+++ b/pseudocode/operators/LOGICAL_XOR.tosac
@@ -9,8 +9,8 @@
ERROR_IF(shape != broadcast_shape(shape1, shape2));
for_each(index in shape) {
- dim_t index1 = apply_broadcast(shape, shape1, index);
- dim_t index2 = apply_broadcast(shape, shape2, index);
+ shape_t index1 = apply_broadcast(shape, shape1, index);
+ shape_t index2 = apply_broadcast(shape, shape2, index);
in_out_t value1 = tensor_read<in_out_t>(input1, shape1, index1);
in_out_t value2 = tensor_read<in_out_t>(input2, shape2, index2);
in_out_t result = value1 != value2;