Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
santisoler committed Apr 25, 2024
1 parent f045fe6 commit dde55be
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions boule/_ellipsoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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):
"""
Expand Down

0 comments on commit dde55be

Please sign in to comment.