Skip to content

Commit 83b7e1b

Browse files
Update src/array_api_extra/_delegation.py
Co-authored-by: Tim Head <betatim@gmail.com>
1 parent 0c57e2b commit 83b7e1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/array_api_extra/_delegation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def cov(
237237
else xp.asarray(frequency_weights, device=device)
238238
)
239239
aw = None if weights is None else xp.asarray(weights, device=device)
240-
return xp.cov(m, correction=int(correction), fweights=fw, aweights=aw)
240+
return xp.cov(m, correction=correction, fweights=fw, aweights=aw)
241241
# `dask.array.cov` forces `.compute()` whenever weights are given:
242242
# its internal `if fact <= 0` check on a lazy 0-D scalar triggers
243243
# materialization. Route to the generic impl, which is fully lazy

0 commit comments

Comments
 (0)