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

Implied Multiplication bug when blank character separates: 'nx' vs 'n x' #292

Closed
mariuszgromada opened this issue Jan 8, 2023 · 0 comments
Labels
Milestone

Comments

@mariuszgromada
Copy link
Owner

Argument x = new Argument("x = 3");
Argument n = new Argument("n = 1");
Expression e = new Expression("nx", n, x);
mXparser.consolePrintln(e.getExpressionString() + " = " + e.getCanonicalExpressionString());

Result is ok:
nx = n*x

Argument x = new Argument("x = 3");
Argument n = new Argument("n = 1");
Expression e = new Expression("n x", n, x);
mXparser.consolePrintln(e.getExpressionString() + " = " + e.getCanonicalExpressionString());

Result is not ok - missing multiplication
n x = nx

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

No branches or pull requests

1 participant