We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509daf3 commit 765ad71Copy full SHA for 765ad71
README.md
@@ -56,7 +56,7 @@ Local automatic variables can be defined in the expression. For example,
56
57
```c++
58
Parser parser("r2=x*x+y*y; r=sqrt(r2); cos(a+r2)*log(r)"
59
- parser.setConstant(a, ...);
+ parser.setConstant("a", ...);
60
parser.registerVariables({"x","y"});
61
auto f = parser.compile<2>(); // 2 because there are two variables.
62
```
0 commit comments