Skip to content

Commit

Permalink
add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
clementzach committed Jan 19, 2024
1 parent ad325fc commit ccf30f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forest/jasmine/data2mobmat.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def gps_to_mobmat(
return mobmat


def force_valid_longitude(longitude):
def force_valid_longitude(longitude: float) -> float:
"""Forces a longitude coordinate to be within -180 and 180
Args:
longitude: float. The longitude to be coerced
Expand Down

0 comments on commit ccf30f7

Please sign in to comment.