Skip to content

Commit 7f6970f

Browse files
committed
Fix typo: x_demonimator -> x_denominator in lamberts_ellipsoidal_distance.py
1 parent 68473af commit 7f6970f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

geodesy/lamberts_ellipsoidal_distance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def lamberts_ellipsoidal_distance(
9595
# Intermediate X value
9696
# X = (sigma - sin(sigma)) * sin^2Pcos^2Q / cos^2(sigma/2)
9797
x_numerator = (sin(p_value) ** 2) * (cos(q_value) ** 2)
98-
x_demonimator = cos(sigma / 2) ** 2
99-
x_value = (sigma - sin(sigma)) * (x_numerator / x_demonimator)
98+
x_denominator = cos(sigma / 2) ** 2
99+
x_value = (sigma - sin(sigma)) * (x_numerator / x_denominator)
100100

101101
# Intermediate Y value
102102
# Y = (sigma + sin(sigma)) * cos^2Psin^2Q / sin^2(sigma/2)

0 commit comments

Comments
 (0)