Skip to content

Commit cce2f58

Browse files
Update skyllh/core/livetime.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent dbc5dff commit cce2f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skyllh/core/livetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def get_livetime_upto(self, mjd):
301301
)
302302

303303
if not issequence(mjd):
304-
return np.asscalar(livetimes)
304+
return livetimes.item()
305305

306306
return livetimes
307307

0 commit comments

Comments
 (0)