Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sommer committed Oct 23, 2023
1 parent 7542f75 commit f7a2a9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fmusim/fmusim_fmi3_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ FMIStatus simulateFMI3CS(FMIInstance* S,
));

if (earlyReturn && !settings->earlyReturnAllowed) {
FMILogError("FMU returned early from fmi3DoStep() but early return is not allowed.");
FMILogError("The FMU returned early from fmi3DoStep() but early return is not allowed.");
status = FMIError;
goto TERMINATE;
}
Expand Down
4 changes: 2 additions & 2 deletions tests/test_fmusim.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,10 @@ def test_event_mode_time_events():
interface_type='cs',
test_name='test_event_mode_input_events',
args=[
'--event-mode-used',
'--stop-time', '5',
'--output-interval', '2.5',
'--event-mode-used'
'--event-mode-used',
'--early-return-allowed'
],
model='Stair.fmu'
)
Expand Down

0 comments on commit f7a2a9b

Please sign in to comment.