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 connectors when renaming model #1009

Merged
merged 3 commits into from
Apr 20, 2021
Merged

Conversation

arun3688
Copy link
Contributor

Related Issues

#1008

Purpose

This PR fixes the connectors when renaming the model

@arun3688 arun3688 requested a review from lochel April 19, 2021 09:52
Comment on lines 123 to 126
if (system)
system->renameConnectors();
for (const auto & it:system->getSubSystems())
it.second->renameConnectors();
Copy link
Member

Choose a reason for hiding this comment

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

C++ is not Python 😄

@lochel lochel merged commit 4348a9c into OpenModelica:master Apr 20, 2021
@arun3688 arun3688 deleted the fixrenameModel branch April 20, 2021 09:21
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.

2 participants