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. 4
      src/main/py/read_math_function.py

4
src/main/py/read_math_function.py

@ -75,4 +75,6 @@ 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