You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a small example: -a + b - 2c + 0. I'd expect this to simplify to b - a - 2c, with all the rules turned on.
I think the problem is that the rule for pulling out unary minus, ?;x + (-?;y), matches with strictInverse turned on, so while extra addition terms are matched under rest, extra subtraction terms are not. Could getTerms be changed to capture inverse terms only under rest, and not consider them for the match?
The text was updated successfully, but these errors were encountered:
Here's a small example:
-a + b - 2c + 0
. I'd expect this to simplify tob - a - 2c
, with all the rules turned on.I think the problem is that the rule for pulling out unary minus,
?;x + (-?;y)
, matches withstrictInverse
turned on, so while extra addition terms are matched underrest
, extra subtraction terms are not. CouldgetTerms
be changed to capture inverse terms only underrest
, and not consider them for the match?The text was updated successfully, but these errors were encountered: