mirror of https://github.com/CGAL/cgal
Fix a bug for demo benchmark. KD-Tree is now build right after its construction (instead of at the first query).
This commit is contained in:
parent
9ea0b3c43e
commit
b92c3902f5
|
|
@ -110,6 +110,7 @@ namespace CGAL
|
|||
++begin;
|
||||
}
|
||||
m_tree = new Tree(points.begin(), points.end());
|
||||
m_tree->build();
|
||||
}
|
||||
|
||||
~AABB_search_tree() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue