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

Make propagation final of lifted parameter 'c' in Spring #4407

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

henrikt-ma
Copy link
Contributor

Fixes #3707.

As there wasn't any arguments agains making the propagation of c final in #3707, I suggest that we go with this solution.

One could argue that there are more parameters whose propagation should be final, but I'm starting with this one which is sufficient to fix the issue.

@henrikt-ma
Copy link
Contributor Author

henrikt-ma commented May 23, 2024

By the way, the discussion in MO-2748 didn't take us much further. It gives us a language to express initialization problems more clearly in Base Modelica, but doesn't provide a full specification of how full Modelica initialization should be turned into Base Modelica.

@beutlich beutlich removed their request for review May 24, 2024 05:09
Copy link
Contributor

@HansOlsson HansOlsson left a comment

Choose a reason for hiding this comment

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

The change is ok, but I don't know if part of preferred style of Modelica.Mechanics - so I leave the decision to relevant library officers.

Copy link
Contributor

@christiankral christiankral left a comment

Choose a reason for hiding this comment

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

OK, This makes sense.

Copy link
Contributor

@tobolar tobolar left a comment

Choose a reason for hiding this comment

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

The thing is that I Joe Engineer would never come to the idea c is final due to a clear initialization.
@MartinOtter could you review here?

@casella casella requested a review from MartinOtter June 22, 2024 16:09
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.

No propagation of fixed = false in InitSpringConstant
4 participants