Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "changeSign" precedence for multiplication and division by negative numbers #76

Merged
merged 3 commits into from
Jun 9, 2023

Conversation

pchiquet
Copy link

@pchiquet pchiquet commented Jun 8, 2023

Simple expressions such as 1/-1 or 1*-1 can not be evaluated.

Reproduced with version 2.0.2 but I noticed it worked fine with the demo (which is based on 2.0.1 version)

It seems to be a regression introduced by a0f978c

I have added auto tests and I have adjusted the precedence for negative sign to fix "postfixEval".

@bugwheels94 bugwheels94 merged commit b731588 into bugwheels94:master Jun 9, 2023
@github-actions
Copy link

github-actions bot commented Jun 9, 2023

🎉 This PR is included in version 2.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants