Skip to content

Commit

Permalink
Merge pull request #4 from mino2357/fix-actions-bug
Browse files Browse the repository at this point in the history
fix test bug
  • Loading branch information
mino2357 committed Aug 7, 2023
2 parents 8b80633 + 0a3c49c commit 71fcfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kd_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl KDTree {

#[allow(dead_code)]
pub fn neighbor_search(&self, x: &gen_grid2d::Grid2D, radius: f64) -> Vec<usize> {
let mut near = vec![0_usize];
let mut near = vec![0; 0];
self.search_points_id(x, radius, &mut near, 0);
near.clone()
}
Expand Down

0 comments on commit 71fcfff

Please sign in to comment.