diff --git a/Project.toml b/Project.toml index bd20ee1..5ea8466 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SymPyPythonCall" uuid = "bc8888f7-b21e-4b7c-a06a-5d9c9496438c" authors = ["jverzani and contributors"] -version = "0.2.4" +version = "0.2.5" [deps] diff --git a/src/python_connection.jl b/src/python_connection.jl index 290515d..4454bf9 100644 --- a/src/python_connection.jl +++ b/src/python_connection.jl @@ -1,7 +1,4 @@ ## PythonCall specific usage -Base.convert(::Type{Complex{S}}, x::Sym{T}) where {S<:Number, T<:PythonCall.Py} = - Complex(convert(S, real(x)), convert(S, imag(x))) - Base.convert(::Type{S}, x::Sym{T}) where {T <: PythonCall.Py, S<:Sym} = x Base.convert(::Type{S}, x::T) where {T<:PythonCall.Py, S <: SymbolicObject} = Sym(x)