diff --git a/Packages/Sweep_line_2/include/CGAL/Sweep_line_2/Sweep_curves_base_2.h b/Packages/Sweep_line_2/include/CGAL/Sweep_line_2/Sweep_curves_base_2.h index d3c7b38d478..123bc7839db 100644 --- a/Packages/Sweep_line_2/include/CGAL/Sweep_line_2/Sweep_curves_base_2.h +++ b/Packages/Sweep_line_2/include/CGAL/Sweep_line_2/Sweep_curves_base_2.h @@ -717,7 +717,7 @@ protected: const Point &q) const { Comparison_result result; bool update_first_cv = false, update_second_cv = false; - X_curve first_cv , second_cv; // making an optimization. + X_curve_plus first_cv , second_cv; // making an optimization. // taking care the edge case of vertical segments: if one is // vertical, then the order is set according the 'rightmost' @@ -858,7 +858,7 @@ protected: // is between the source and target point of the vertical curve, and // for our definition - it means that the verical curve comes first. if ( result == EQUAL && - traits->curve_is_vertical(update_first_cv? first_cv: + traits->curve_is_vertical(update_first_cv ? first_cv: cv1.get_curve()) ){ // if first_cv is vertical and its source tangent to second_cv - // it means that first_cv is above second_cv. @@ -1159,8 +1159,8 @@ protected: // inserting the new event point to curve node, and // then to the status line. #ifdef CGAL_SWEEP_LINE_DEBUG - cout<<"inserting the new event point to curve node, -and then to the status line"<