Skip to content

Commit f12be47

Browse files
committed
Fix typo in test_vecdot
1 parent 74add08 commit f12be47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/test_linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def test_vecdot(x1, x2, kw):
770770
f"vecdot did not raise an exception for invalid axis ({ndim=}, {kw=})")
771771
return
772772
x1_shape = (1,)*(ndim - x1.ndim) + tuple(x1.shape)
773-
x2_shape = (1,)*(ndim - x1.ndim) + tuple(x2.shape)
773+
x2_shape = (1,)*(ndim - x2.ndim) + tuple(x2.shape)
774774
if x1_shape[axis] != x2_shape[axis]:
775775
ph.raises(Exception, lambda: xp.vecdot(x1, x2, **kw),
776776
"vecdot did not raise an exception for invalid shapes")

0 commit comments

Comments
 (0)