Make sure time is float64