diff options
-rw-r--r-- | pseudocode/operators/REDUCE_MIN.tosac | 2 |
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); } } |