Symbolics.jl icon indicating copy to clipboard operation
Symbolics.jl copied to clipboard

Simplification of transposed scalars

Open baggepinnen opened this issue 3 years ago • 1 comments

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

baggepinnen avatar Sep 10 '20 07:09 baggepinnen

Thanks, that probably needs a rule @shashi

ChrisRackauckas avatar Sep 11 '20 02:09 ChrisRackauckas