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

Added better logic to detect different units across linkage constraints. #913

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

robfalck
Copy link
Contributor

Summary

When resolving units for a linkage constraint, dymos was comparing the string representation of the units across the linkage rather than the value of the conversion factor.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@coveralls
Copy link

Coverage Status

Coverage: 92.637% (+0.01%) from 92.625% when pulling fb1f8fc on robfalck:linkage_equivalent_units_bug into 2822281 on OpenMDAO:master.

@robfalck robfalck merged commit 08b625e into OpenMDAO:master Mar 22, 2023
@robfalck robfalck deleted the linkage_equivalent_units_bug branch February 1, 2024 21:07
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.

Linkage constraints raise unnecessary error when units of linked variables are equivalent.
3 participants