From 5597097b2966dfa3e3a3a79a5652990b0744d8c7 Mon Sep 17 00:00:00 2001 From: fd7794 Date: Tue, 6 Feb 2024 12:53:33 +0100 Subject: [PATCH] refactoring: simplified return statement and removed unnecessary lines --- src/main/py/read_math_function.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index 9c242cb..f4b5e84 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -114,5 +114,4 @@ def sum_of_simplified_exponential_functions(type, function): if type !="se": return False summands = function.split('+') - simplified = simplify_exponential_function('e', summands) - return simplified \ No newline at end of file + return simplify_exponential_function('e', summands) \ No newline at end of file