Skip to content

Noncommuting variables to the zeroth power #118

Open
@kbarros

Description

@kbarros

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions