Skip to content

Commit

Permalink
C++ Mathematical Expression Library (ExprTk) http://www.partow.net/pr…
Browse files Browse the repository at this point in the history
  • Loading branch information
ArashPartow committed Feb 11, 2017
1 parent 27c041d commit ecc414d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -885,11 +885,14 @@ version using ExprTk:
foo.register_symbol_table(symbol_table);

parser_t parser;
if (parser.compile(foo_str,foo))
if (!parser.compile(foo_str,foo))
{
foo.value();
// Error in expression...
return;
}

T result = foo.value();


(3) Parser
A component which takes as input a string representation of an
Expand Down

0 comments on commit ecc414d

Please sign in to comment.