Skip to content

Complex.sympy might return a sympy.Add expression when needed? #1798

@rocky

Description

@rocky

Revise Complex.to_sympy so that it uses sympy.Add when the real and imaginary parts require it.

This is how SageMath handles its complex numbers converted to sympy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions