Skip to content

Commit

Permalink
Update yaramo/node.py
Browse files Browse the repository at this point in the history
Co-authored-by: Lietze <[email protected]>
  • Loading branch information
antonykamp and Lietze authored Apr 18, 2023
1 parent 3fbe559 commit ed4e588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yaramo/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ def is_above_line_between_points(head_point: GeoPoint, branching_point: GeoPoint
arc_b = get_arc_between_nodes(self.connected_on_head, other_b)
if arc_a > arc_b:
self.connected_edge_on_left = (
self.get_edge_to_node(other_a) if side_a else self.get_edge_to_node(other_b)
self.get_edge_to_node(other_b) if side_a else self.get_edge_to_node(other_a)
)
self.connected_edge_on_right = (
self.get_edge_to_node(other_b) if side_a else self.get_edge_to_node(other_a)
self.get_edge_to_node(other_a) if side_a else self.get_edge_to_node(other_b)
)
else:
self.connected_edge_on_left = (
Expand Down

0 comments on commit ed4e588

Please sign in to comment.