Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrapped as_real_imag #217

Merged
merged 1 commit into from
Feb 11, 2018
Merged

Wrapped as_real_imag #217

merged 1 commit into from
Feb 11, 2018

Conversation

npochhi
Copy link
Contributor

@npochhi npochhi commented Feb 9, 2018

Fixes #210

@npochhi npochhi changed the title Wrapper as_real_imag Wrapped as_real_imag Feb 9, 2018
@npochhi
Copy link
Contributor Author

npochhi commented Feb 10, 2018

ping @isuruf

@@ -165,6 +165,11 @@ def test_as_numer_denom():
assert x == Integer(-5)
assert y == Integer(1)

def test_as_real_imag():
x, y = (Integer(5) + Integer(6) * I).as_real_imag()
Copy link
Member

@isuruf isuruf Feb 10, 2018

Choose a reason for hiding this comment

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

Use 5 + 6 * I. Integer is not necessary here and not necessary in the lines below

@bjodah bjodah merged commit 5496ffc into symengine:master Feb 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants