If the expression is of the form:
Stringify is not defined for UMINUS node. Consequently, lars fails to detect -b as coef_node and end up trying to create a binary node with one of the operands as nullptr.
Two ways this could be avoided:
- Disable distribution of coef_node is not found (is
nullptr).
1840eba does this.
- Extend lars to include this case.
If the expression is of the form:
Stringify is not defined for UMINUS node. Consequently, lars fails to detect
-bas coef_node and end up trying to create a binary node with one of the operands asnullptr.Two ways this could be avoided:
nullptr).1840eba does this.