We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a6ace commit 4be8364Copy full SHA for 4be8364
array_api_tests/test_linalg.py
@@ -971,7 +971,7 @@ def test_vecdot_conj():
971
x2 = xp.asarray([1, 2j, 3])
972
973
import cmath
974
- assert cmath.isclose(xp.linalg.vecdot(x1, x2), 4 - 10j)
+ assert cmath.isclose(complex(xp.linalg.vecdot(x1, x2)), 4 - 10j)
975
976
977
# Insanely large orders might not work. There isn't a limit specified in the
0 commit comments