Skip to content

Commit bef1cc7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 210c14e commit bef1cc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

geometry/graham_scan.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ def consecutive_orientation(self, point_a: Point, point_b: Point) -> float:
9898
>>> Point(0, 0).consecutive_orientation(Point(1, 0), Point(2, 0))
9999
0.0
100100
"""
101-
return (point_a.x - self.x) * (point_b.y - point_a.y) - (
102-
point_a.y - self.y
103-
) * (point_b.x - point_a.x)
101+
return (point_a.x - self.x) * (point_b.y - point_a.y) - (point_a.y - self.y) * (
102+
point_b.x - point_a.x
103+
)
104104

105105

106106
def graham_scan(points: Sequence[Point]) -> list[Point]:

0 commit comments

Comments
 (0)