Skip to content

Commit e980a81

Browse files
Update 0mq/funbody2.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bda776f commit e980a81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

0mq/funbody2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
u = u[1:]
5151
concore.write(concore.oport['U2'],"u",u)
5252
print(u)
53-
old2 = concore.simtime
54-
while concore.unchanged() or concore.simtime <= old2:
53+
old2 = float(concore.simtime)
54+
while concore.simtime <= old2:
5555
ym = concore.read(concore.iport['Y2'],"ym",init_simtime_ym)
5656
ym = [concore.simtime]+ym
5757
print(f"Replying to {command.action} with {ym}")

0 commit comments

Comments
 (0)