Skip to content

Commit

Permalink
Fixed style
Browse files Browse the repository at this point in the history
  • Loading branch information
tbetcke committed Oct 21, 2024
1 parent 2cf70bf commit 9937f14
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/octree/parallel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -864,10 +864,7 @@ pub fn assign_points_to_leaf_keys(
let leaf_key = leaf_keys[leaf_key_index];
debug_assert!(leaf_key.is_ancestor(*point_key));

point_map
.entry(leaf_key)
.or_insert(Vec::<usize>::new())
.push(index);
point_map.entry(leaf_key).or_default().push(index);
}

point_map
Expand Down

0 comments on commit 9937f14

Please sign in to comment.