def _ligotimegps(s, ns=<NUM_LIT:0>):
from lal import LIGOTimeGPS<EOL>try:<EOL><INDENT>return LIGOTimeGPS(s, ns)<EOL><DEDENT>except TypeError:<EOL><INDENT>return LIGOTimeGPS(int(s), int(ns))<EOL><DEDENT>
Catch TypeError and cast `s` and `ns` to `int`