From 9687edee236a982e10957f0f7d0b9380a3a1cdc4 Mon Sep 17 00:00:00 2001 From: jverzani Date: Tue, 12 Dec 2023 14:29:28 -0500 Subject: [PATCH 1/2] remove type piracy --- src/python_connection.jl | 3 --- 1 file changed, 3 deletions(-) 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) From 414195cedb5ecc1cc14f9c5a372aa287ea5fd26e Mon Sep 17 00:00:00 2001 From: jverzani Date: Tue, 12 Dec 2023 14:30:47 -0500 Subject: [PATCH 2/2] versionbump --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]