Open fpiou opened 2 years ago
Another bug :
steps = solveEquation('2/x = 3') ---> 'x=2/3' (works fine)
steps = solveEquation('2/x = 3')
but
steps = solveEquation('2/x = 3/4') ---> Math error: No term with symbol: x, returning no steps at stepThrough.js?5f71:102 after a step with MULTIPLY_TO_BOTH_SIDES
steps = solveEquation('2/x = 3/4')
Math error: No term with symbol: x, returning no steps
stepThrough.js?5f71:102
Originally posted by @fpiou in https://github.com/google/mathsteps/issues/267#issuecomment-1000944187
Here is a solution :
In file Symbols.js at line 31 :
else if (Node.Type.isOperator(node, '+') *|| Node.Type.isOperator(node, '')**) {
I am working on this.
Another bug :
steps = solveEquation('2/x = 3')
---> 'x=2/3' (works fine)but
steps = solveEquation('2/x = 3/4')
--->Math error: No term with symbol: x, returning no steps
atstepThrough.js?5f71:102
after a step with MULTIPLY_TO_BOTH_SIDESOriginally posted by @fpiou in https://github.com/google/mathsteps/issues/267#issuecomment-1000944187