diff --git a/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h b/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h index 5693f0fbb30..2947db39636 100644 --- a/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h +++ b/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h @@ -407,7 +407,7 @@ public: Point_3_from_sample()), boost::make_transform_iterator (m_samples.end(), Point_3_from_sample())), - 3); + 3, CGAL::parameters::point_map (CGAL::Identity_property_map_no_lvalue())); std::cerr << "Average spacing = " << spacing << std::endl; } diff --git a/Spatial_searching/include/CGAL/Kd_tree_rectangle.h b/Spatial_searching/include/CGAL/Kd_tree_rectangle.h index 297c2203f6c..f0b9b68e48f 100644 --- a/Spatial_searching/include/CGAL/Kd_tree_rectangle.h +++ b/Spatial_searching/include/CGAL/Kd_tree_rectangle.h @@ -105,6 +105,7 @@ namespace CGAL { } Kd_tree_rectangle() + : max_span_coord_(-1) {}