Skip to content

Commit f9d995c

Browse files
committed
[OMCSession*] fix variable type to float
1 parent 1387ec4 commit f9d995c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/OMCSession.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ def _timeout_loop(
923923
if timeout <= 0:
924924
raise OMCSessionException(f"Invalid timeout: {timeout}")
925925

926-
timer = 0
926+
timer = 0.0
927927
yield True
928928
while True:
929929
timer += timestep

0 commit comments

Comments
 (0)