arnaud-m / cryptator

A constraint-based cryptarithm solver
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Fix missing parentheses of inorder print in recursive style #79

Closed FissoreD closed 1 year ago

FissoreD commented 1 year ago

The returned inorder expression only has usefull parenthesis, or every one if needed.

❗ The formatter has moved the inner class TraversalEdge to the bottm of the class TreeTraversal.

FissoreD commented 1 year ago

I've update the inorder print function as requested. The same function is overloaded and accepts a boolean for the full parenthesis mode. The previous method inorder traversal has been restored as it was before my first modification.