Skip to content

Conversation

@SebastianM-C
Copy link
Contributor

ComplexTerm was incorrectly classified as NotSymbolic(), causing code
that checks symbolic_type (like ModelingToolkit's namespace_expr) to
skip processing its .re and .im fields.

This led to namespace bugs where variables inside complex expressions
lost their namespace prefixes during system composition.

Co-authored-by: Claude (Anthropic AI Assistant) [email protected]

ComplexTerm was incorrectly classified as NotSymbolic(), causing code
that checks symbolic_type (like ModelingToolkit's namespace_expr) to
skip processing its .re and .im fields.

This led to namespace bugs where variables inside complex expressions
lost their namespace prefixes during system composition.

Co-authored-by: Claude (Anthropic AI Assistant) <[email protected]>
@SebastianM-C
Copy link
Contributor Author

I think this should go into a backports branch, but I'm not sure if there is one 😅

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.

1 participant