Skip to content

Commit 44f8baa

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 801d1a7 commit 44f8baa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

divide_and_conquer/closest_pair_of_points.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ def closest_pair_of_points(points: list[Any], points_counts: int) -> float:
146146
points_sorted_on_x = column_based_sort(points, column=0)
147147
points_sorted_on_y = column_based_sort(points, column=1)
148148
return (
149-
closest_pair_of_points_sqr(points_sorted_on_x, points_sorted_on_y, points_counts)
149+
closest_pair_of_points_sqr(
150+
points_sorted_on_x, points_sorted_on_y, points_counts
151+
)
150152
) ** 0.5
151153

152154

0 commit comments

Comments
 (0)