Skip to content

Commit

Permalink
Update _check.py
Browse files Browse the repository at this point in the history
code clean
  • Loading branch information
mwheels authored Dec 9, 2021
1 parent 0b7ac9f commit fa4f78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyeto/_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def check_doy(doy):


def check_latitude_rad(latitude):
if not _MINLAT_RADIANS <= latitude <= _MAXLAT_RADIANS:
if not _MINLAT_RADIANS <= latitude <= _MAXLAT_RADIANS:
raise ValueError(
'latitude outside valid range {0!r} to {1!r} rad: {2!r}'
.format(_MINLAT_RADIANS, _MAXLAT_RADIANS, latitude))
Expand Down

0 comments on commit fa4f78a

Please sign in to comment.