Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compare list of polynomials because of missing rtoldefault #289

Open
kbarros opened this issue Jan 7, 2024 · 1 comment
Open

Comments

@kbarros
Copy link

kbarros commented Jan 7, 2024

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
@blegat
Copy link
Member

blegat commented Jan 8, 2024

I guess we should add Base.rtoldefault(::AbstractMonomialLike) = MA.Zero() in MultivariatePolynomials

@blegat blegat transferred this issue from JuliaAlgebra/DynamicPolynomials.jl Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants