mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
refactor: Remove default value of exponential_term (#4308)
exponential_term doesn't need a default value
This commit is contained in:
parent
0992498a10
commit
806b3864c3
|
@ -70,7 +70,6 @@ def _subsum(
|
|||
sum = 0.0
|
||||
for sum_index in range(digit_pos_to_extract + precision):
|
||||
denominator = 8 * sum_index + denominator_addend
|
||||
exponential_term = 0.0
|
||||
if sum_index < digit_pos_to_extract:
|
||||
# if the exponential term is an integer and we mod it by the denominator
|
||||
# before dividing, only the integer part of the sum will change;
|
||||
|
|
Loading…
Reference in New Issue
Block a user