Skip to content

Commit

Permalink
Merge pull request #2 from athas/need-copy
Browse files Browse the repository at this point in the history
This needs a copy now.
  • Loading branch information
Snektron authored Feb 13, 2023
2 parents c023cd4 + 122e87b commit 9b19712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/codegen/instr_count.fut
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ let instr_count [max_nodes] (tree: Tree[max_nodes]) =
map2 (instr_count_fix_post tree.nodes initial_result) (iota max_nodes) initial_result |>
unzip2
in
scatter initial_result fix_idx fix_offsets
scatter (copy initial_result) fix_idx fix_offsets

let shift_right [n] 't (x: t) (xs: [n]t) : [n]t =
xs |>
Expand Down

0 comments on commit 9b19712

Please sign in to comment.