Skip to content

Commit

Permalink
Restore keyword argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sfinkens committed Jul 5, 2024
1 parent fc66e18 commit 5978ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygac/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ def correct_times_median(self, year, jday, msec):

jday = np.where(np.logical_or(jday < 1, jday > 366),
np.median(jday), jday)
if_wrong_jday = np.ediff1d(jday, jday.dtype.type(0))
if_wrong_jday = np.ediff1d(jday, to_begin=jday.dtype.type(0))
jday = np.where(if_wrong_jday < 0, max(jday), jday)

if_wrong_msec = np.where(msec < 1)
Expand Down

0 comments on commit 5978ae2

Please sign in to comment.