Skip to content

Prevent GPS precision errors by using to_gps as middleware

This PR resolves a few precision issues of the sort:

>>> print(lal.LIGOTimeGPS(1126259640.413))
1126259640.413000107

by calling through to_gps which prevents these precision issues (by itself using str as a go-between).

Merge request reports