From a6668e1d471cbc791f486a2b6c962076491306a3 Mon Sep 17 00:00:00 2001 From: Idan Miara Date: Mon, 19 Dec 2022 12:51:56 +0200 Subject: [PATCH] fix `reverse_azimuth` --- pyproj/_geod.pyi | 2 ++ test/test_geod.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproj/_geod.pyi b/pyproj/_geod.pyi index 8aa637326..de85efb6c 100644 --- a/pyproj/_geod.pyi +++ b/pyproj/_geod.pyi @@ -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: ... diff --git a/test/test_geod.py b/test/test_geod.py index c8a48a040..2ec78950f 100644 --- a/test/test_geod.py +++ b/test/test_geod.py @@ -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],