nerdamer
nerdamer copied to clipboard
HUGE error on solveFor
a very simple
x*y+y=0
solved for x return two answers: x=-1 (correct) and x=0 (incorrect)
Debugging I found that this was being transformed into
(x+1)*y that first part gives the correct answer -1 but solving y for x returns 0, which may be the problem of a missing pair of parenthesis in Solve.js line 1328
if(eq.group === S || eq.group === CB && eq.contains(solve_for))
in this caseeq.group === S is true and eq.contains(solve_for) is false
but the whole condition is true