From d8e8d12870329992b98d151e1150b7ce1b03896d Mon Sep 17 00:00:00 2001 From: fd7794 Date: Tue, 6 Feb 2024 12:20:39 +0100 Subject: [PATCH] added assignment to simplified_term for simplify_product_function --- src/main/py/read_math_function.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index 834f285..94426e5 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -101,4 +101,5 @@ def simplify_product_function(type, function): for term in terms: simplified_term = simplify_easy_math_function("v", term.strip()) if not simplified_term or len(simplified_term) != 2: - return False \ No newline at end of file + return False + term_coefficient, term_variables = simplified_term \ No newline at end of file