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

Noncommuting variables to the zeroth power #118

Open
kbarros opened this issue Oct 18, 2022 · 0 comments
Open

Noncommuting variables to the zeroth power #118

kbarros opened this issue Oct 18, 2022 · 0 comments
Labels

Comments

@kbarros
Copy link

kbarros commented Oct 18, 2022

Taking noncommuting variables to the zeroth power can lead to surprising results:

using DynamicPolynomials
@ncpolyvar a x
p = x^0 * a  # displays as `a`
p == a       # returns true (expected behavior)
a == p       # returns false (bug)
@blegat blegat added the bug label Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants