Browse Source

added return statement for simplify_product_function

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

3
src/main/py/read_math_function.py

@ -104,4 +104,5 @@ def simplify_product_function(type, function):
return False return False
term_coefficient, term_variables = simplified_term term_coefficient, term_variables = simplified_term
result_coefficient *= term_coefficient result_coefficient *= term_coefficient
result_variables += term_variables
result_variables += term_variables
return [f"{result_variables}^{len(terms)}"]
Loading…
Cancel
Save