Closed kbarros closed 1 year ago
Failure on the last line below seems surprising.
using DynamicPolynomials @polyvar x y z subs(x^2, x => z^2) # z⁴ subs(x^2 + y^2, x => z) # z² + y² subs(x^2 + y^2, x => 1z^2) # y² + z⁴ subs(x^2 + y^2, x => z^2) # ArgumentError: There should be as many variables as exponents
Thanks for reporting this, it should be fixed in https://github.com/JuliaAlgebra/DynamicPolynomials.jl/pull/142
Failure on the last line below seems surprising.