From 6af6a911d95da47eb409259eea432456d5dd693a Mon Sep 17 00:00:00 2001 From: fd7794 Date: Tue, 6 Feb 2024 12:14:21 +0100 Subject: [PATCH] added declaration of 'terms' --- 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 5eec32c..67df73e 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -94,4 +94,5 @@ def simplify_exponential_function(type, function): def simplify_product_function(type, function): if type != "p": - return False \ No newline at end of file + return False + terms = function.split('*') \ No newline at end of file