Skip to content

Commit

Permalink
fix reverse_azimuth
Browse files Browse the repository at this point in the history
  • Loading branch information
idanmiara committed Dec 19, 2022
1 parent b58272c commit a6668e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pyproj/_geod.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ class Geod:
def _polygon_area_perimeter(
self, lons: Any, lats: Any, radians: bool = False
) -> Tuple[float, float]: ...

def reverse_azimuth(azi: Any, radians: bool = False) -> None: ...
2 changes: 1 addition & 1 deletion test/test_geod.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def test_geod__reverse_azimuth(radians):
f = math.pi / 180 if radians else 1
xy = np.array(
[
[0, 0 - 180],
[0, 0 + 180],
[180, 180 - 180],
[-180, -180 + 180],
[10, 10 - 180],
Expand Down

0 comments on commit a6668e1

Please sign in to comment.