Commit 56256eb4 authored by Taddeus Kroes's avatar Taddeus Kroes

Removed function notation check for integrals from parser.

parent 196a602c
...@@ -417,11 +417,6 @@ class Parser(BisonParser): ...@@ -417,11 +417,6 @@ class Parser(BisonParser):
if option in (1, 2): # rule: FUNCTION_LPAREN exp RPAREN | FUNCTION exp if option in (1, 2): # rule: FUNCTION_LPAREN exp RPAREN | FUNCTION exp
op = values[0].split(' ', 1)[0] op = values[0].split(' ', 1)[0]
if op == 'int':
fx, x = find_integration_variable(values[1])
return Node(OP_INT, fx, x)
if op == 'ln': if op == 'ln':
return Node(OP_LOG, values[1], Leaf(E)) return Node(OP_LOG, values[1], Leaf(E))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment