From ee0a5d1a4d290aed966c6f02d2d1d385c48a789a Mon Sep 17 00:00:00 2001 From: fdai7764 Date: Fri, 19 Jan 2024 11:09:15 +0100 Subject: [PATCH] refactoring: Changed variable name in ld function to avoid confusion, as there is only one number --- src/main/py/logarithmic_and_expo_and_root_calculations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/py/logarithmic_and_expo_and_root_calculations.py b/src/main/py/logarithmic_and_expo_and_root_calculations.py index 5becc90..887e9bb 100644 --- a/src/main/py/logarithmic_and_expo_and_root_calculations.py +++ b/src/main/py/logarithmic_and_expo_and_root_calculations.py @@ -13,8 +13,8 @@ def logarithmize(first_number, second_number): return math.log(first_number, second_number) -def logarithmize_dualis(first_number): - return math.log2(first_number) +def logarithmize_dualis(number): + return math.log2(number) def logarithmize_base_10(number):