diff --git a/include/CGAL/Segment_Delaunay_graph_Linf_2/Vertex_conflict_C2.h b/include/CGAL/Segment_Delaunay_graph_Linf_2/Vertex_conflict_C2.h index e1ceb4622f0..981659ffc3f 100644 --- a/include/CGAL/Segment_Delaunay_graph_Linf_2/Vertex_conflict_C2.h +++ b/include/CGAL/Segment_Delaunay_graph_Linf_2/Vertex_conflict_C2.h @@ -868,6 +868,7 @@ private: Point_2 pnt_on_seg; if (is_same_psrc_q or is_same_ptrg_q) { + pnt_on_seg = pnt; Point_2 otherpnt; if (is_same_psrc_q) { otherpnt = seg.target(); @@ -976,6 +977,9 @@ private: // here p and t have common endpoint testp + std::cout << "debug testp=" << testp << " pnt=" + << pnt << " pnt_on_seg=" << pnt_on_seg << std::endl; + // check if testp equals pnt_on_seg if ((cmpx(testp, pnt_on_seg) == EQUAL ) and