Skip to content

Commit

Permalink
libstempo.pyx: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpitkin committed Jul 4, 2024
1 parent 8146f85 commit 026b631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libstempo/libstempo.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ cdef class tempopulsar:
else:
# check if using an astropy time object
try:
toamjd = numpy.atleast_1d(toas.mjd).astype(NP>_LONG_DOUBLE_FORMAT) # make sure in MJD
toamjd = numpy.atleast_1d(toas.mjd).astype(NP_LONG_DOUBLE_FORMAT) # make sure in MJD
except Exception as e:
raise TypeError("Input TOAs are not of an allowed type: {}".format(e))

Expand Down

0 comments on commit 026b631

Please sign in to comment.