diff --git a/boule/_ellipsoid.py b/boule/_ellipsoid.py index c8e01c66..75b0d0be 100644 --- a/boule/_ellipsoid.py +++ b/boule/_ellipsoid.py @@ -392,9 +392,7 @@ def gravity_pole(self): / (1.5 * ((1 + 3 * ratio**2) * arctan - 3 * ratio)) ) result = ( - self.geocentric_grav_const - * (1 + self._emm * aux) - / self.semimajor_axis**2 + self.geocentric_grav_const * (1 + self._emm * aux) / self.semimajor_axis**2 ) return result @@ -534,9 +532,7 @@ def prime_vertical_radius(self, sinlat): .. [2] See https://en.wikipedia.org/wiki/Earth_radius#Prime_vertical """ - return self.semimajor_axis / np.sqrt( - 1 - self.first_eccentricity**2 * sinlat**2 - ) + return self.semimajor_axis / np.sqrt(1 - self.first_eccentricity**2 * sinlat**2) def geodetic_to_spherical(self, longitude, latitude, height): """