From 11f0b199faa7f8544965d089171f1e03714b331e Mon Sep 17 00:00:00 2001 From: fd7794 Date: Tue, 6 Feb 2024 12:15:23 +0100 Subject: [PATCH] added declaration of 'result_coefficient' and 'result_variables' --- src/main/py/read_math_function.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index 67df73e..3e0c5a0 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -95,4 +95,6 @@ def simplify_exponential_function(type, function): def simplify_product_function(type, function): if type != "p": return False - terms = function.split('*') \ No newline at end of file + terms = function.split('*') + result_coefficient = 1 + result_variables = "" \ No newline at end of file