Skip to content

Commit dcebd72

Browse files
committed
revert autoformatting issue
1 parent 82243cd commit dcebd72

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

maths/chudnovsky_algorithm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ def pi(precision: int) -> str:
5252
6 * k) // (factorial(3 * k) * factorial(k) ** 3)
5353
linear_term += 545140134
5454
exponential_term *= -262537412640768000
55-
partial_sum += Decimal(multinomial_term *
56-
linear_term) / exponential_term
55+
partial_sum += Decimal(multinomial_term * linear_term) / exponential_term
5756
return str(constant_term / partial_sum)[:-1]
5857

5958

0 commit comments

Comments
 (0)