diff --git a/Spatial_searching/include/CGAL/Kd_tree_rectangle.h b/Spatial_searching/include/CGAL/Kd_tree_rectangle.h index f0b9b68e48f..3cb7132be3e 100644 --- a/Spatial_searching/include/CGAL/Kd_tree_rectangle.h +++ b/Spatial_searching/include/CGAL/Kd_tree_rectangle.h @@ -139,6 +139,7 @@ namespace CGAL { template // was PointIter Kd_tree_rectangle(int, PointPointerIter begin, PointPointerIter end,const Construct_cartesian_const_iterator_d& construct_it) + : max_span_coord_(-1) { update_from_point_pointers(begin,end,construct_it); } @@ -289,7 +290,7 @@ namespace CGAL { } Kd_tree_rectangle() - : coords_(0), dim(0) + : coords_(0), dim(0), max_span_coord_(-1) { } @@ -324,7 +325,7 @@ namespace CGAL { template // was PointIter Kd_tree_rectangle(int d, PointPointerIter begin, PointPointerIter end,const Construct_cartesian_const_iterator_d& construct_it) - : coords_(new FT[2*d]), dim(d) + : coords_(new FT[2*d]), dim(d), max_span_coord_(-1) { update_from_point_pointers(begin,end,construct_it); }