Closed tweisser closed 4 years ago
When generating a polynomial q = zero(p), using mutable operations on p had an impact on q. This is should be fixed now. In particular
q = zero(p)
p
q
@polyvar x y p = x^2 + x + 1 q = rem(p, [x^2-y])
throws an error without this fix.
Also fixes a typo in an error message.
When generating a polynomial
q = zero(p)
, using mutable operations onp
had an impact onq
. This is should be fixed now. In particularthrows an error without this fix.