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

the output display often starts with minus unnecessarily

Open nsajko opened this issue 1 year ago • 0 comments

As of recently, the results are often displayed starting with minus. Example:

julia> using Symbolics

julia> @variables x
1-element Vector{Num}:
 x

julia> (x - 1)*(x - 1)
(-1 + x)^2

(@v1.11) pkg> st Symbolics
Status `~/.julia/environments/v1.11/Project.toml`
  [0c5d862f] Symbolics v5.10.0

Either (1 - x)^2 or (x - 1)^2 would be fine, but the way it's currently displayed is a bit ugly. I think that the result was displayed as (x - 1)^2 until recently.

nsajko avatar Nov 20 '23 00:11 nsajko