We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Complex{Num}
MWE:
julia> Complex{Symbolics.Num}(Symbolics.Sym{Real}(:x), 0)^Symbolics.Num(2) ERROR: MethodError: ^(::Complex{Num}, ::Num) is ambiguous. Candidates: ^(z::Complex{T}, p::S) where {T<:Real, S<:Real} @ Base complex.jl:876 ^(z::Complex{T}, p::T) where T<:Real @ Base complex.jl:863 ^(a::Number, b::Num) @ Symbolics ~/.julia/packages/SymbolicUtils/ssQsQ/src/methods.jl:76 Possible fix, define ^(::Complex{T}, ::Num) where T<:Real Stacktrace: [1] top-level scope @ REPL[63]:1
The text was updated successfully, but these errors were encountered:
I am having the same issue ... Did you find a solution ?
Sorry, something went wrong.
Seems to be fixed. Here is the output with Symbolics v6.12.0:
julia> using Symbolics julia> Complex{Symbolics.Num}(Symbolics.Sym{Real}(:x), 0)^Symbolics.Num(2) (x)^2
No branches or pull requests
MWE:
The text was updated successfully, but these errors were encountered: