Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Another bug : 2/x=3/4 #268

Open
fpiou opened this issue Dec 25, 2021 · 2 comments
Open

Another bug : 2/x=3/4 #268

fpiou opened this issue Dec 25, 2021 · 2 comments

Comments

@fpiou
Copy link

fpiou commented Dec 25, 2021

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 at stepThrough.js?5f71:102 after a step with MULTIPLY_TO_BOTH_SIDES

Originally posted by @fpiou in #267 (comment)

@fpiou
Copy link
Author

fpiou commented Dec 25, 2021

Here is a solution :

In file Symbols.js at line 31 :

else if (Node.Type.isOperator(node, '+') || Node.Type.isOperator(node, '*')) {

@kernelshreyak
Copy link

I am working on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants