-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
math.simplify('x + y + a', [{l: 'n+-c', r: 'n-c'}], {a: -1}).toString()gives
"x - 1 + y"The order of operations gets changed. Is it an issue?
Is there any way to just simplify signs ('+-n' => '-n', '--n' => 'n') without node tree getting rearranged so drastically (and get x + y - 1 in my example)?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels