Browse Source

added check for x for simplify_exponential_function

remotes/origin/feature/feature-read-math-function-added-funktions
fd7794 11 months ago
parent
commit
c2834070a2
  1. 2
      src/main/py/read_math_function.py

2
src/main/py/read_math_function.py

@ -76,3 +76,5 @@ def extract_constant(function):
def simplify_exponential_function(type, function): def simplify_exponential_function(type, function):
if type != "e": if type != "e":
return False return False
if 'x' not in function:
return "Der Ausdruck muss die Variable 'x' enthalten."
Loading…
Cancel
Save