aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/REDUCE_MIN.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/operators/REDUCE_MIN.tosac')
-rw-r--r--pseudocode/operators/REDUCE_MIN.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/REDUCE_MIN.tosac b/pseudocode/operators/REDUCE_MIN.tosac
index 5eaa702..7e1f92d 100644
--- a/pseudocode/operators/REDUCE_MIN.tosac
+++ b/pseudocode/operators/REDUCE_MIN.tosac
@@ -20,6 +20,6 @@ for_each(left_index in left_shape) {
acc = apply_min_s<in_out_t>(acc, value);
}
out_index = flatten(left_index, [0], right_index);
- tensor_write<in_out_t>(output, shape, out_index, out);
+ tensor_write<in_out_t>(output, shape, out_index, acc);
}
}