Skip to content

Commit

Permalink
Add KDtree to its own namespace and allow a NN cache for multithreade…
Browse files Browse the repository at this point in the history
…d operation
  • Loading branch information
Martin D. Weinberg committed Nov 12, 2024
1 parent ca858f8 commit 203cade
Show file tree
Hide file tree
Showing 7 changed files with 370 additions and 336 deletions.
4 changes: 2 additions & 2 deletions expui/Centering.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ namespace Utility

std::vector<double> ctr(3, 0.0);

typedef point <double, 3> point3;
typedef kdtree<double, 3> tree3;
using point3 = KDtree::point<double, 3>;
using tree3 = KDtree::kdtree<double, 3>;

std::vector<point3> points;

Expand Down
Loading

0 comments on commit 203cade

Please sign in to comment.