Closed leesugil closed 5 months ago
wip simple lines like f = -x would work fine when x = 2, for example, but there are still errors in the following case
symbols: "f" = "a x^2 + b x^1 + c x^0" "g" = "y f" "h" = "-1 * g" "x" = "2"
this error is from distExpr.
-1 (a + b + c) ==> -1 a + -1 * b + c
working on the issue now
problem
resolved
f = -x x = 2 doesn't yield f = -2 because -x != -1 * x in the current version. x and -x are considered as two different variables