-
Notifications
You must be signed in to change notification settings - Fork 158
Closed
Labels
cosmeticA tiny improvementA tiny improvement
Milestone
Description
Code:
Function f = new Function("f(x) = 2*x");
Argument x = new Argument("x = 2");
Argument y = new Argument("y = x^x", x);
Expression e = new Expression("f(y)", f, y);
e.checkSyntax();
System.out.println(e.getErrorMessage());
Code result:
[f(y)] checking ...
[f(y)] (f, 0) checking user defined function ...
[f(y)] -> [f] = [ 2*x] checking ...
[f(y)] -> [f] = [ 2*x] no errors.
[f(y)] (y, 2) checking dependent argument ...
[f(y)] -> [y] = [ x^x] checking ...
[f(y)] -> [y] = [ x^x] no errors.
[f(y)] no errors.
Should be:
[f(y)] checking ...
[f(y)] (f, 0) checking user defined function ...
[f(y)] -> [f] = [2*x] checking ...
[f(y)] -> [f] = [2*x] no errors.
[f(y)] (y, 2) checking dependent argument ...
[f(y)] -> [y] = [x^x] checking ...
[f(y)] -> [y] = [x^x] no errors.
[f(y)] no errors.
Metadata
Metadata
Assignees
Labels
cosmeticA tiny improvementA tiny improvement