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

1
src/main/py/read_math_function.py

@ -105,3 +105,4 @@ def simplify_product_function(type, function):
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