Fix not propagating traits to CH3 code

This commit is contained in:
Mael Rouxel-Labbé 2020-03-24 15:54:44 +01:00
parent 170e3dd68b
commit 09c9c3044d
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ void construct_oriented_bounding_box(const PointRange& points,
if(use_ch) // construct the convex hull to reduce the number of points if(use_ch) // construct the convex hull to reduce the number of points
{ {
std::vector<Point> ch_points; std::vector<Point> ch_points;
extreme_points_3(points, std::back_inserter(ch_points)); extreme_points_3(points, std::back_inserter(ch_points), traits);
#ifdef CGAL_OPTIMAL_BOUNDING_BOX_DEBUG #ifdef CGAL_OPTIMAL_BOUNDING_BOX_DEBUG
std::cout << ch_points.size() << " points on the convex hull" << std::endl; std::cout << ch_points.size() << " points on the convex hull" << std::endl;