diff --git a/Point_set_processing_3/include/CGAL/compute_average_spacing.h b/Point_set_processing_3/include/CGAL/compute_average_spacing.h index c3d9ae64f6b..168bd935ef4 100644 --- a/Point_set_processing_3/include/CGAL/compute_average_spacing.h +++ b/Point_set_processing_3/include/CGAL/compute_average_spacing.h @@ -163,8 +163,7 @@ compute_average_spacing( // basic geometric types typedef typename PointRange::const_iterator iterator; typedef Point_set_processing_3_np_helper NP_helper; - typedef typename NP_helper::Const_point_map PointMap; - typedef typename NP_helper::Normal_map NormalMap; + typedef typename NP_helper::Const_point_map PointMap typedef typename NP_helper::Geom_traits Kernel; PointMap point_map = NP_helper::get_const_point_map(points, np);