We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b83a378 commit 145a202Copy full SHA for 145a202
array_api_compat/common/_linalg.py
@@ -149,4 +149,4 @@ def trace(x: ndarray, /, xp, *, offset: int = 0, dtype=None, **kwargs) -> ndarra
149
dtype = xp.float64
150
elif x.dtype == xp.complex64:
151
dtype = xp.complex128
152
- return xp.asarray(xp.trace(x, offset=offset, dtype=dtype, axis1=-2, axis2=-1, **kwargs))
+ return xp.asarray(xp.trace(x, offset=offset, dtype=dtype, axis1=-2, axis2=-1, **kwargs))
0 commit comments