Skip to content

Commit 4be8364

Browse files
committed
.
1 parent 84a6ace commit 4be8364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/test_linalg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ def test_vecdot_conj():
971971
x2 = xp.asarray([1, 2j, 3])
972972

973973
import cmath
974-
assert cmath.isclose(xp.linalg.vecdot(x1, x2), 4 - 10j)
974+
assert cmath.isclose(complex(xp.linalg.vecdot(x1, x2)), 4 - 10j)
975975

976976

977977
# Insanely large orders might not work. There isn't a limit specified in the

0 commit comments

Comments
 (0)