diff --git a/exprtk_simple_example_09.cpp b/exprtk_simple_example_09.cpp index 5654d46..b19eb37 100644 --- a/exprtk_simple_example_09.cpp +++ b/exprtk_simple_example_09.cpp @@ -31,7 +31,7 @@ void primes() T x = T(0); - exprtk::symbol_table symbol_table; + symbol_table_t symbol_table; symbol_table.add_constants(); symbol_table.add_variable("x",x); @@ -109,7 +109,7 @@ void primes() expression2.register_symbol_table(symbol_table); expression3.register_symbol_table(symbol_table); - exprtk::parser parser; + parser_t parser; parser.compile(expression_str1,expression1); parser.compile(expression_str2,expression2); @@ -133,4 +133,4 @@ int main() { primes(); return 0; -} +} \ No newline at end of file diff --git a/exprtk_simple_example_10.cpp b/exprtk_simple_example_10.cpp index 93c92cc..cf016b3 100644 --- a/exprtk_simple_example_10.cpp +++ b/exprtk_simple_example_10.cpp @@ -32,7 +32,7 @@ void newton_sqrt() T x = T(0); - exprtk::symbol_table symbol_table; + symbol_table_t symbol_table; symbol_table.add_constants(); symbol_table.add_variable("x",x); @@ -68,7 +68,7 @@ void newton_sqrt() expression.register_symbol_table(symbol_table); - exprtk::parser parser; + parser_t parser; parser.compile(expression_str,expression);