Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FMI] Reset eventInfo only on entering event mode
Fix for ticket 5367. - `fmi2EnterEventMode` will reset `eventInfo`. Then the FMU integrator will set `newDiscreteStatesNeeded=fmi2True`. Inside fmi2NewDiscreteStates value for `valuesOfContinuousStatesChanged` will stay true if it becomes true at some point. - `valuesOfContinuousStatesChanged` can't trigger another call to `fmi2EventUpdate` any more. Would lead to infinit loop.
- Loading branch information
Showing
1 changed file
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters