Closed KenZhenLin closed 4 months ago
Are you using the latest version, it was fixed in https://github.com/JuliaAlgebra/DynamicPolynomials.jl/pull/153
Are you using the latest version, it was fixed in #153
Oh ok, sorry I'm not. I will try the latest and see if it works! Thanks a lot!
Hi,
Could you please help me understand this?
@show toya[6]-(1+toya[1])
givestoya[6] - (1 + toya[1]) = -toya₁
, the variabletoya[6]
and constant-1
disappear, while@show toya[6]-1-toya[1]
is correct, and gives(toya[6] - 1) - toya[1] = -1 + toya₆ - toya₁
And
toya[6]-(1+toya[1]) == toya[6]-1-toya[1]
isfalse
.The above issue does NOT happen if I remove the
monomial_order = LexOrder
.Thanks!