Skip to content

Commit 0b87406

Browse files
Run precommit
1 parent 8621fa5 commit 0b87406

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

uxarray/grid/arcs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,4 +418,3 @@ def compute_arc_length(pt_a, pt_b):
418418
delta_theta = np.atan2(cross_2d, dot_2d)
419419

420420
return rho * abs(delta_theta)
421-

uxarray/grid/intersections.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
in_between,
88
extreme_gca_z,
99
point_within_gca,
10-
_intersection_within_interval
10+
_intersection_within_interval,
1111
)
1212
from uxarray.utils.computing import allclose, cross, norm
1313

@@ -348,15 +348,15 @@ def gca_gca_intersection(gca_a_xyz, gca_b_xyz):
348348
x2_xyz = -x1_xyz
349349

350350
# Check intersection points
351-
if _intersection_within_interval(x1_xyz, w0_xyz, w1_xyz) and _intersection_within_interval(
352-
x1_xyz, v0_xyz, v1_xyz
353-
):
351+
if _intersection_within_interval(
352+
x1_xyz, w0_xyz, w1_xyz
353+
) and _intersection_within_interval(x1_xyz, v0_xyz, v1_xyz):
354354
res[count, :] = x1_xyz
355355
count += 1
356356

357-
if _intersection_within_interval(x2_xyz, w0_xyz, w1_xyz) and _intersection_within_interval(
358-
x2_xyz, v0_xyz, v1_xyz
359-
):
357+
if _intersection_within_interval(
358+
x2_xyz, w0_xyz, w1_xyz
359+
) and _intersection_within_interval(x2_xyz, v0_xyz, v1_xyz):
360360
res[count, :] = x2_xyz
361361
count += 1
362362

0 commit comments

Comments
 (0)