thk2b/algebra

`printTree` parentheses not added as expected

Opened this issue · 0 comments

thk2b commented

Add a isParenthesesRoot to the root token of subexpressions wrapped in parentheses and check for that instead of precedence.