mirror of
https://github.com/andreytkachenko/kdtree-rust.git
synced 2024-11-22 01:16:25 +04:00
Ok to tag v0.2.0
This commit is contained in:
parent
37dd6467a9
commit
fcb1e220d2
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "fux_kdtree"
|
||||
version = "0.1.1"
|
||||
version = "0.2.0"
|
||||
authors = ["fulara <ntszar@gmail.com>"]
|
||||
repository = "https://github.com/fulara/kdtree-rust"
|
||||
keywords = ["tree", "dimension" , "nearest", "search", "neighbor"]
|
||||
|
@ -129,7 +129,7 @@ impl<KdtreePoint: KdtreePointTrait> Kdtree<KdtreePoint> {
|
||||
self.nodes.pop();
|
||||
}
|
||||
|
||||
if self.node_depth_during_last_rebuild as f64 * 1.2 < depth as f64 {
|
||||
if self.node_depth_during_last_rebuild as f64 * 4.0 < depth as f64 {
|
||||
self.gather_points_and_rebuild();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user