Skip to content

Commit 2347e1c

Browse files
committed
mypy
1 parent bfab2fb commit 2347e1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_microxcaling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pytest
44

55
import numpy as np
6-
from numpy.typing import ArrayLike
6+
from numpy.typing import NDArray
77

88
import torch
99

@@ -49,7 +49,7 @@ def test_mx(
4949
gf_etype: FormatInfo,
5050
mx_round: str,
5151
gf_round: RoundMode,
52-
A: ArrayLike,
52+
A: NDArray[np.float64],
5353
) -> None:
5454
# MX: Declare block format
5555
mx_specs = dict(

0 commit comments

Comments
 (0)