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

No support for unary + #461

Closed
rikardn opened this issue Jan 18, 2024 · 1 comment · Fixed by #465
Closed

No support for unary + #461

rikardn opened this issue Jan 18, 2024 · 1 comment · Fixed by #465
Labels

Comments

@rikardn
Copy link
Contributor

rikardn commented Jan 18, 2024

The following code crashes. It works in sympy

import symengine
+symengine.Integer(2)

The error message:

TypeError: bad operand type for unary +: 'Integer'
@rikardn rikardn added the bug label Jan 18, 2024
@isuruf
Copy link
Member

isuruf commented Jan 18, 2024

Mind sending a PR implementing __pos__?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants