Skip to content

Commit 594ea27

Browse files
committed
Add spacing between terms
1 parent b2385b0 commit 594ea27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/statistics.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,13 +345,13 @@ def _decimal_sqrt_of_frac(n: int, m: int) -> Decimal:
345345
plus = root.next_plus()
346346
np, dp = plus.as_integer_ratio()
347347
# test: n / m > ((root + plus) / 2) ** 2
348-
if 4*dr**2*dp**2*n > m*(dr*np + dp*nr)**2:
348+
if 4 * dr**2 * dp**2 * n > m * (dr*np + dp*nr)**2:
349349
return plus
350350

351351
minus = root.next_minus()
352352
nm, dm = minus.as_integer_ratio()
353353
# test: n / m < ((root + minus) / 2) ** 2
354-
if 4*dr**2*dm**2*n < m*(dr*nm + dm*nr)**2:
354+
if 4 * dr**2 * dm**2 * n < m * (dr*nm + dm*nr)**2:
355355
return minus
356356

357357
return root

0 commit comments

Comments
 (0)