Skip to content

Commit 0da923e

Browse files
committed
mypy
1 parent 906642a commit 0da923e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_round.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def test_round_roundtrip(round_float: Callable, fi: FormatInfo) -> None:
500500
(311, 3, 7.0 / 8),
501501
),
502502
)
503-
def test_stochastic_rounding(v, srnumbits, expected_up):
503+
def test_stochastic_rounding(v: float, srnumbits: int, expected_up: float) -> None:
504504
fi = format_info_ocp_e5m2
505505

506506
v0 = round_float(fi, v, RoundMode.TowardNegative)

0 commit comments

Comments
 (0)