Browse Source

added if not check for simplify_product_function

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

4
src/main/py/read_math_function.py

@ -99,4 +99,6 @@ def simplify_product_function(type, function):
result_coefficient = 1
result_variables = ""
for term in terms:
simplified_term = simplify_easy_math_function("v", term.strip())
simplified_term = simplify_easy_math_function("v", term.strip())
if not simplified_term or len(simplified_term) != 2:
return False
Loading…
Cancel
Save