We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c57e2b commit 83b7e1bCopy full SHA for 83b7e1b
1 file changed
src/array_api_extra/_delegation.py
@@ -237,7 +237,7 @@ def cov(
237
else xp.asarray(frequency_weights, device=device)
238
)
239
aw = None if weights is None else xp.asarray(weights, device=device)
240
- return xp.cov(m, correction=int(correction), fweights=fw, aweights=aw)
+ return xp.cov(m, correction=correction, fweights=fw, aweights=aw)
241
# `dask.array.cov` forces `.compute()` whenever weights are given:
242
# its internal `if fact <= 0` check on a lazy 0-D scalar triggers
243
# materialization. Route to the generic impl, which is fully lazy
0 commit comments