Skip to content

Commit 186c6a5

Browse files
committed
Time should be a float, not int
1 parent 8cb9ad4 commit 186c6a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simvue/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ def _add_metrics_to_dispatch(
921921
self,
922922
metrics: dict[str, typing.Union[int, float]],
923923
step: typing.Optional[int] = None,
924-
time: typing.Optional[int] = None,
924+
time: typing.Optional[float] = None,
925925
timestamp: typing.Optional[str] = None,
926926
join_on_fail: bool = True,
927927
) -> bool:
@@ -967,7 +967,7 @@ def log_metrics(
967967
self,
968968
metrics: dict[str, typing.Union[int, float]],
969969
step: typing.Optional[int] = None,
970-
time: typing.Optional[int] = None,
970+
time: typing.Optional[float] = None,
971971
timestamp: typing.Optional[str] = None,
972972
) -> bool:
973973
"""

0 commit comments

Comments
 (0)