nerdamer icon indicating copy to clipboard operation
nerdamer copied to clipboard

Errors with solveEquations

Open BOISSARD opened this issue 2 years ago • 0 comments

Hello Martin,

First of all thank you for all the work on this project, I love it

I have 2 errors with the function solveEquations :

  1. I have an issue with equation having a division on a side, it says OperatorError : Not a prefix operator , with these cases :
  • nerdamer.solveEquations("A = B + C * D / 100", "A")
  • nerdamer.solveEquations("A = B + C * (D / 100)", "A")
  1. I have another issue with operators on each side of the equal sign, it says ParseError: Unexpected token!: 3: undefined :
  • nerdamer.solveEquations("A * B = C + D", "A")
  • nerdamer.solveEquations("A = B + C - D", "A")

These are examples simplified of my needs.

I looked in the code but I honestly don't have the skills to understand your work.

I hope you can find solutions, because it's blocking problems for me, otherwise it works well.

Thank you in advance for your efforts and thank you again for your incredible work.

Clément

Edit : The 2 errors are because of spaces in sentence

BOISSARD avatar May 28 '22 17:05 BOISSARD