Skip to content

Commit

Permalink
Update uxarray/grid/area.py
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Chmielowiec <[email protected]>
  • Loading branch information
rajeeja and philipc2 authored Jan 8, 2025
1 parent aae25d8 commit 7e746ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uxarray/grid/area.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def edge_passes_through_pole(node1, node2):

# North and South Pole vectors
p_north = np.array([0.0, 0.0, 1.0])
p_south = np.array([0.0, 0.0, -1.0]) # Changed to float64
p_south = np.array([0.0, 0.0, -1.0])

# Check if the normal vector is orthogonal to either pole
return np.isclose(np.dot(n, p_north), 0) or np.isclose(np.dot(n, p_south), 0)
Expand Down

0 comments on commit 7e746ba

Please sign in to comment.