Bug in symbolic_solve and symbolic_linear_solve

Is this a bug?

julia> symbolic_solve(x+im,x)
1-element Vector{Complex{Int64}}:
 0 - 1im

julia> symbolic_solve(x+im~0,x)
1-element Vector{Int64}:
 0

julia> symbolic_solve(x^2+im~1,x)
2-element Vector{BigInt}:
 -1
  1

It’s like the im is not seen.
And why the first line, without the ~0 behaves correctly? I am asking here before opening an issue on github just to be sure.

By the way this error is also present in:

julia> symbolic_linear_solve(x+im~0,x)
-0.0

Can you open an issue?

1 Like