Skip to content

Commit 973ee8e

Browse files
committed
Updates to ExprTk
1 parent 3e4791b commit 973ee8e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

bench_expr_weird.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,12 @@ a^-b
9999
-1.1*a^(+b-0)
100100
-1.1*a^-b
101101
-b^2^3-b^6
102-
-(-b^2^3)+b^6
102+
-(-b^2^3)+b^6
103+
(-1)^0
104+
(-1)^1-1
105+
(-1)^(1-1)
106+
(-1)^(a-a)
107+
-1^0
108+
-1^1-1
109+
-1^(1-1)
110+
-1^(a-a)

exprtk/exprtk.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35362,7 +35362,7 @@ namespace exprtk
3536235362
const bool collect_variables,
3536335363
const bool collect_functions,
3536435364
const bool vector_pass,
35365-
symbol_table_t& ext_symbol_table = symbol_table_t())
35365+
symbol_table_t& ext_symbol_table)
3536635366
{
3536735367
symbol_table_t symbol_table;
3536835368
expression_t expression;

0 commit comments

Comments
 (0)