diff --git a/cycspec_simulator/time.py b/cycspec_simulator/time.py index 55e8de3..2806c26 100644 --- a/cycspec_simulator/time.py +++ b/cycspec_simulator/time.py @@ -63,7 +63,7 @@ def __init__(self, mjd, second, offset): raise ValueError(f"Second {second} is beyond end of day {mjd}") self.mjd = mjd self.second = second - self.offset = offset + self.offset = np.asanyarray(offset) def __getitem__(self, sl): return Time(self.mjd, self.second, self.offset[sl])