Open kbarros opened 10 months ago
using DynamicPolynomials @polyvar x a = [2x, x^2] # Fine to compare individual elements @assert a[1] ≈ a[1] && a[2] == a[2] # ERROR: MethodError: no method matching rtoldefault(...) a ≈ a
I guess we should add Base.rtoldefault(::AbstractMonomialLike) = MA.Zero() in MultivariatePolynomials
Base.rtoldefault(::AbstractMonomialLike) = MA.Zero()