We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1ae49b commit 080f7caCopy full SHA for 080f7ca
1 file changed
test/test_value_array.py
@@ -298,5 +298,7 @@ def test_unique() -> None:
298
def test_matmul() -> None:
299
a = np.random.random((3, 4))
300
b = np.random.random((4, 3)) * tu.ns
301
- assert (a @ b).allclose((a @ b[tu.us]) * tu.us)
302
- assert (b @ a).allclose((b[tu.s] @ a) * tu.s)
+ c: tu.TimeArray = a @ b # type: ignore[assignment]
+ d: tu.TimeArray = b @ a # type: ignore[assignment]
303
+ assert c.allclose((a @ b[tu.us]) * tu.us)
304
+ assert d.allclose((b[tu.s] @ a) * tu.s)
0 commit comments