Skip to content

Commit

Permalink
Complete 'sweep' function
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Apr 4, 2021
1 parent 7d196e5 commit f8a276c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bentley_ottmann/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def sweep(segments: Sequence[Segment],
events_queue.detect_intersection(below_event, above_event,
sweep_line)
if event is not equal_segment_event:
event.merge_with(equal_segment_event)
equal_segment_event.merge_with(event)
yield from complete_events_relations(same_start_events)


Expand Down

0 comments on commit f8a276c

Please sign in to comment.