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

Simplification of transposed scalars #9

Open
baggepinnen opened this issue Sep 10, 2020 · 1 comment
Open

Simplification of transposed scalars #9

baggepinnen opened this issue Sep 10, 2020 · 1 comment

Comments

@baggepinnen
Copy link
Collaborator

baggepinnen commented Sep 10, 2020

MT fails to recognize a simplification of scalars that are transposed. In the following MWE, the transpose wrapper prevents the multiplication be 0 to be simplified.

julia> simplify(0*Ja)
ModelingToolkit.Constant(0)

julia> o
transpose(0.0)

julia> simplify(o*Ja)
transpose(0.0) * Ja

┆Issue is synchronized with this Trello card by Unito

@ChrisRackauckas
Copy link
Member

Thanks, that probably needs a rule @shashi

@ChrisRackauckas ChrisRackauckas transferred this issue from SciML/ModelingToolkit.jl Feb 26, 2021
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

No branches or pull requests

2 participants