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

Generate events in functions; to avoid non-discrete booleans. #4263 #4541

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

Esther-Devakirubai
Copy link
Contributor

Backporting #4263 to Maint/4.1.x

* Generate events in functions; to avoid non-discrete booleans.
Closes #4209

* Apply suggestions from code review

Fix annotations.

Co-authored-by: Thomas Beutlich <[email protected]>

* Need Inline as well (at least for Dymola - and shouldn't be problem).

* Add test-case

* Update ModelicaTest/Media.mo

Co-authored-by: Thomas Beutlich <[email protected]>

* Inlining the function as suggested.

---------

Co-authored-by: Thomas Beutlich <[email protected]>
Copy link
Contributor

@casella casella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked against the original PR, all fine

@casella casella enabled auto-merge (squash) February 24, 2025 21:45
@casella casella requested a review from maltelenz February 24, 2025 21:45
Copy link
Contributor

@maltelenz maltelenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backports correctly what it claims to backport.

Since there is a new model, we will need new reference results, @GallLeo @MatthiasBSchaefer .

@casella casella merged commit 0f769ac into maint/4.1.x Feb 25, 2025
6 checks passed
@casella casella deleted the bp_pr4263 branch February 25, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: Media Issue addresses Modelica.Media
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants