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:
Stéphane Tayeb 2009-07-09 11:46:28 +00:00
parent 9ea0b3c43e
commit b92c3902f5
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ namespace CGAL
++begin;
}
m_tree = new Tree(points.begin(), points.end());
m_tree->build();
}
~AABB_search_tree() {