Skip to content

Commit 82d4690

Browse files
authored
Merge pull request #47 from jverzani/complex
Complex
2 parents 5b03ad4 + 414195c commit 82d4690

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SymPyPythonCall"
22
uuid = "bc8888f7-b21e-4b7c-a06a-5d9c9496438c"
33
authors = ["jverzani <jverzani@gmail.com> and contributors"]
4-
version = "0.2.4"
4+
version = "0.2.5"
55

66

77
[deps]

src/python_connection.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
## PythonCall specific usage
2-
Base.convert(::Type{Complex{S}}, x::Sym{T}) where {S<:Number, T<:PythonCall.Py} =
3-
Complex(convert(S, real(x)), convert(S, imag(x)))
4-
52
Base.convert(::Type{S}, x::Sym{T}) where {T <: PythonCall.Py, S<:Sym} = x
63
Base.convert(::Type{S}, x::T) where {T<:PythonCall.Py, S <: SymbolicObject} = Sym(x)
74

0 commit comments

Comments
 (0)