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 for SubmodelComp indexing bug. #3239

Merged
merged 4 commits into from
May 20, 2024
Merged

Conversation

naylor-b
Copy link
Member

Summary

SubmodelComp outputs were not being properly copied to the outer model in some cases.

For now, variables exposed as inputs or outputs of a SubmodelComp are not allowed to be distributed.

Related Issues

Backwards incompatibilities

The default value of the do_coloring option for SubmodelComp has been changed to False.

New Dependencies

None

openmdao/components/tests/test_submodel_comp.py Outdated Show resolved Hide resolved
openmdao/core/system.py Show resolved Hide resolved
@coveralls
Copy link

coveralls commented May 17, 2024

Coverage Status

coverage: 87.0%. first build
when pulling ed8d313 on naylor-b:submodelcomp_clean
into b6f606a on OpenMDAO:master.

@johnjasa
Copy link
Member

Thanks for this fix and cleanup, Bret! We really appreciate it.

@swryan swryan merged commit 944fb73 into OpenMDAO:master May 20, 2024
9 checks passed
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.

Submodel outputs might not be set correctly
6 participants