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

isapprox for array of polynomials #198

Open
blegat opened this issue Mar 24, 2022 · 0 comments
Open

isapprox for array of polynomials #198

blegat opened this issue Mar 24, 2022 · 0 comments

Comments

@blegat
Copy link
Member

blegat commented Mar 24, 2022

julia> @polyvar x[1:3]
(PolyVar{true}[x₁, x₂, x₃],)

julia> 1.0x  1.0x
ERROR: MethodError: no method matching rtoldefault(::Type{Term{true, Float64}}, ::Type{Term{true, Float64}}, ::Int64)
Closest candidates are:
  rtoldefault(::Union{Type{T}, T}, ::Union{Type{S}, S}, ::Real) where {T<:Number, S<:Number} at ~/packages/julias/julia-1.7.2/share/julia/base/floatfuncs.jl:315
Stacktrace:
 [1] isapprox(x::Vector{Term{true, Float64}}, y::Vector{Term{true, Float64}})
   @ LinearAlgebra ~/packages/julias/julia-1.7.2/share/julia/stdlib/v1.7/LinearAlgebra/src/generic.jl:1706
 [2] top-level scope
   @ REPL[107]:1
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

1 participant