diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index f3c741b..27fcb9f 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -53,8 +53,7 @@ def simplify_easy_math_function(type, function): if is_string(function) is False or is_allowed_string("c", function) is True: return simplify_constant("c", function) extracted_function = extract_constant(function) - simplified_constant = simplify_constant("c", extracted_function[0]) - extracted_function[0] = simplified_constant + extracted_function[0] = simplify_constant("c", extracted_function[0]) return extracted_function