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

Add redundant algorithm #4284

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Add redundant algorithm #4284

merged 1 commit into from
Jan 29, 2024

Conversation

HansOlsson
Copy link
Contributor

@HansOlsson HansOlsson commented Jan 26, 2024

The recently merged PR #3919 caused a regression in released versions of Dymola, so thus it would be good to have this work-around for the regression included in the release - it's not a new feature. (I'm a bit surprised that it wasn't detected in testing.)

This work-around should be harmless in itself.
(Obviously Dymola will be improved.)

@HansOlsson HansOlsson added this to the MSL4.1.0 milestone Jan 26, 2024
@HansOlsson
Copy link
Contributor Author

@GallLeo I'm not sure if it was detected, it is related to:
https://www.ltx.de/download/MA/Compare_MSL_v4.1.0/Testruns/Dymola/ModelicaTest/_report/ModelicaTest.Math.TestBooleanFunctions/testcase_report.html
Basically these three functions will sometimes fail and/or fail to inline.

@beutlich
Copy link
Member

I can only guess the regression test of ModelicaTest.Math.TestBooleanFunctions (as confirmed by @Harisankar-Allimangalath in #3919 (comment)) was not run in Dymola.

@beutlich beutlich changed the title Add Redundant Algorithm Add redundant algorithm Jan 27, 2024
@beutlich beutlich added L: Math Issue addresses Modelica.Math V: 4.1.0-dev Issue originates in MSL v4.1.0-dev (and is not present in earlier releases) labels Jan 27, 2024
@beutlich beutlich enabled auto-merge (squash) January 27, 2024 11:04
Copy link
Contributor

@henrikt-ma henrikt-ma left a comment

Choose a reason for hiding this comment

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

OK. Looking forward to Dymola being improved so that we no longer need these!

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.

I see no harm in small changes like these to make it work in more tools, when the tools have plans to fix their root cause in the longer term (which is clearly the case here).

@beutlich beutlich merged commit d156b9b into modelica:master Jan 29, 2024
2 checks passed
@HansOlsson
Copy link
Contributor Author

@Harisankar-Allimangalath can you back-port this to maint/4.1.0?

@beutlich beutlich removed the request for review from GallLeo January 29, 2024 09:41
maltelenz pushed a commit to maltelenz/ModelicaStandardLibrary that referenced this pull request Jan 29, 2024
@beutlich beutlich removed this from the MSL4.1.0 milestone Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: Math Issue addresses Modelica.Math V: 4.1.0-dev Issue originates in MSL v4.1.0-dev (and is not present in earlier releases)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants