diff --git a/Intersections_2/include/CGAL/Intersections_2/Line_2_Ray_2.h b/Intersections_2/include/CGAL/Intersections_2/Line_2_Ray_2.h index a88d529e145..a6dec7ec7a9 100644 --- a/Intersections_2/include/CGAL/Intersections_2/Line_2_Ray_2.h +++ b/Intersections_2/include/CGAL/Intersections_2/Line_2_Ray_2.h @@ -40,7 +40,7 @@ public: Ray_2_Line_2_pair(typename K::Ray_2 const *ray, typename K::Line_2 const *line) : _ray(ray), _line(line), _result(NOT_COMPUTED_YET), - _intersection_point(ORIGIN) + _intersection_point(typename K::Point_2(ORIGIN)) {} Intersection_results intersection_type() const;