Skip to content

Commit

Permalink
sort on native type not reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Nov 27, 2021
1 parent e4a25d0 commit 6b32948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polars/polars-core/src/chunked_array/ops/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ where
let iter = arr.iter().map(|v| {
let i = count;
count += 1;
(i, v)
(i, v.copied())
});
vals.extend_trusted_len(iter);
});
Expand Down

0 comments on commit 6b32948

Please sign in to comment.