Skip to content

Commit 3911581

Browse files
committed
Fix type annotation
1 parent 594ea27 commit 3911581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/statistics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def _fail_neg(values, errmsg='negative value'):
306306
yield x
307307

308308

309-
def _isqrt_frac_rto(n: int, m: int) -> float:
309+
def _isqrt_frac_rto(n: int, m: int) -> int:
310310
"""Square root of n/m, rounded to the nearest integer using round-to-odd."""
311311
# Reference: https://www.lri.fr/~melquion/doc/05-imacs17_1-expose.pdf
312312
a = math.isqrt(n // m)

0 commit comments

Comments
 (0)