Skip to content

Commit f560372

Browse files
Update _funcs.py
Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com>
1 parent e34d415 commit f560372

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/array_api_extra/_lib/_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def cov(
353353
m_cT = xp.matrix_transpose(m_c)
354354
if xp.isdtype(m_cT.dtype, "complex floating"):
355355
m_cT = xp.conj(m_cT)
356-
c = (m_w @ m_cT) / fact
356+
c = m_w @ m_cT / fact
357357
axes = tuple(axis for axis, length in enumerate(c.shape) if length == 1)
358358
return xp.squeeze(c, axis=axes)
359359

0 commit comments

Comments
 (0)