Skip to content

Simplify expression with -- #173

@remiangot

Description

@remiangot

Description

Simplification with -- or ++ doesn't work

Steps to Reproduce

const expr1 = engine.parse('3--5')
expr1.simplify()
console.log(expr1.latex)

const expr2 = engine.parse('3++5')
expr2.simplify()
console.log(expr2.latex)

Actual Behavior

3--\times5
3++\times5

Expected Behavior

3+5
3+5

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions