Skip to content

Commit

Permalink
Merge pull request #47 from jverzani/complex
Browse files Browse the repository at this point in the history
Complex
  • Loading branch information
jverzani authored Dec 12, 2023
2 parents 5b03ad4 + 414195c commit 82d4690
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SymPyPythonCall"
uuid = "bc8888f7-b21e-4b7c-a06a-5d9c9496438c"
authors = ["jverzani <[email protected]> and contributors"]
version = "0.2.4"
version = "0.2.5"


[deps]
Expand Down
3 changes: 0 additions & 3 deletions src/python_connection.jl
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

2 comments on commit 82d4690

@jverzani
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/96968

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.5 -m "<description of version>" 82d4690f23f25d2fba6923171586f8893d87f68d
git push origin v0.2.5

Please sign in to comment.