Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: C++ Event trigger evaluation #717

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

jtcooper10
Copy link
Collaborator

Fixes an issue where Events that reassign a value that is also included in the trigger expression causes events to be fired twice. This occurred because trigger state was not being evaluated after Event Assignments are executed, resulting in a "second transition" being incorrectly detected.

To replicate, execute the code found in the notebook in issue #715

Closes #715

@jtcooper10 jtcooper10 requested a review from seanebum February 11, 2022 01:59
@BryanRumsey BryanRumsey linked an issue Feb 11, 2022 that may be closed by this pull request
@briandrawert briandrawert added this to the 1.6.8 milestone Feb 14, 2022
@briandrawert briandrawert merged commit cf6e2b4 into develop Feb 18, 2022
@briandrawert briandrawert deleted the fix/hybrid-c-event-trigger-eval branch February 18, 2022 16:45
@seanebum seanebum mentioned this pull request Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tau Hybrid C Events missing some events
4 participants